Apache License, Version 2.0 | Open Source Initiative (2022)

SPDX short identifier: Apache-2.0

Apache License, Version 2.0 | Open Source Initiative (1)

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

(Video) Open-Source License Explained in 5 minutes

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

(Video) Which Open Source license should I use? MiT Apache GNU GPL Mozilla

"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

2. Grant of Copyright License.

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

3. Grant of Patent License.

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

(Video) DON'T FEAR Open Source Licensing...

4. Redistribution.

You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

  1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
  2. You must cause any modified files to carry prominent notices stating that You changed the files; and
  3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
  4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

5. Submission of Contributions.

Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

6. Trademarks.

This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty.

(Video) Open Source Licenses Explained | How to choose one for your project

Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

8. Limitation of Liability.

In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability.

While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work

To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.

(Video) Demystifying open source licenses! MIT? GPL? Apache?

 Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

FAQs

Is Apache 2.0 an open-source license? ›

The Apache 2.0 license is a particular type of open-source, permissive software license that ensures that end-users are granted a license to any patent that is covered by the software in question.

What problem does Apache License 2.0 solve? ›

The Apache License 2.0 makes sure that the user does not have to worry about infringing any patents by using the software. The user is granted a license to any patent that covers the software.

What does Apache License 2.0 allow? ›

The Apache License 2.0 is in the permissive category, meaning that users can do (nearly) anything they want with the code, with very few exceptions. However, unlike that of the MIT license, the text of the Apache License 2.0 is quite dense and difficult to read.

How do I use Apache 2.0 license? ›

To apply the license to your software project, create a LICENSE file in the source tree's top level. Now copy the full Apache 2.0 License text from https://www.apache.org/licenses/LICENSE-2.0.txt into a LICENSE file. Notice that the LICENSE file doesn't have any extension, but you can optionally name the file LICENSE.

What is Apache open source license? ›

The Apache License is a free and open source software (FOSS) licensing agreement from the Apache Software Foundation (ASF). The agreement stipulates terms for use, reproduction, modification and distribution of any software that is released under the Apache License.

How do I get Apache 2.0 license? ›

You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Does Apache 2.0 require attribution? ›

On the other hand, Apache 2.0 License is widely known for attribution(s) need-less-ness. But "You must retain, in the Source form ... all copyright, patent, trademark, and attribution notices ..."

Is Apache License 2.0 copyleft? ›

The Apache 2.0 license does not contain any copyleft requirements that would require you to share your modified source code.

Can I change open source license? ›

You can add or change to whatever license you or your company wants to. Otherwise there may be other copyright holders that you need agreement from in order to change licenses.

What are the advantages of Apache License? ›

The Apache OpenOffice Compliance Advantages

Like other open source licenses, the Apache License explicitly allows you to copy and redistribute the covered product, without any license fees or royalties.

What license should I use for github? ›

We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors.

What is the impact of Apache License? ›

The Apache License is a permissive open-source license that provides an open code base and encourages contribution. A key benefit of the Apache license is that while it is open, it still enables commercial vendors to build on top of the code to develop and sell enterprise solutions.

Can I modify Apache licensed code? ›

The Apache license allows end users to modify parts of the original code under any license as long as it contains the appropriate documentation that Apache requires within the redistributed code.

What is Apache software used for? ›

As a Web server, Apache is responsible for accepting directory (HTTP) requests from Internet users and sending them their desired information in the form of files and Web pages. Much of the Web's software and code is designed to work along with Apache's features.

Can I sell MIT license software? ›

MIT license is far more open and allows anyone to use and sell the software with or without modification. So if you use MIT licensed code inside something you want to sell you're free to do so.

Can you revoke open source license? ›

Once a licence is granted, you cannot revoke the licence from the previously distributed version. Therefore, you should choose carefully which licence you want to use. However, it is possible to change the licence for new versions. Additionally, it is possible to release several versions with different licenses.

Is Apache 2.0 compatible with MIT? ›

Since the MIT license is compatible with the Apache 2.0 license (which is also a very permissive license), you can bundle those components together under the Apache license.

What is the difference between Apache and MIT license? ›

The Apache 2.0 license is a permissive license that is somewhat similar to the MIT license. The main difference is that the Apache license includes more specific rules governing its use and any derivatives.

Is MIT License open-source? ›

The MIT License is an extremely popular open source software license used on the likes of Ruby on Rails, jQuery, and Node. js. As an open source license, the MIT License dictates what you must, can, and can't do when you use, modify, and/or redistribute the licensed code.

Where do I put Apache License? ›

Applying the license to new software

txt into a file called LICENSE in the top directory of your distribution. If the distribution is a jar or tar file, try to add the LICENSE file first in order to place it at the top of the archive. This covers the collective licensing for the distribution.

Does Android need a license? ›

The Android mobile operating system is free for consumers and for manufacturers to install, but manufacturers need a licence to install Gmail, Google Maps and the Google Play store - collectively called Google Mobile Services (GMS).

What is open source attribution? ›

Attribution refers to giving credit to the authors and contributors of the open source software, i.e., the commercial software provider that incorporates open source inside, might need to properly give credit to the creators of the open source.

Which type of open source license requires attribution only? ›

Permissive. Permissive licenses contain minimal restrictions on how the software can be modified or redistributed. They are also known as “attribution style” licenses as they typically only require that the copyright information be retained in a notices file when the software is distributed.

How does the MIT license work? ›

The MIT license gives users express permission to reuse code for any purpose, sometimes even if code is part of proprietary software. As long as users include the original copy of the MIT license in their distribution, they can make any changes or modifications to the code to suit their own needs.

How many open source licenses are there? ›

There are over 80 variations of open-source licenses, but they generally fall into one of two primary categories: copyleft and permissive.

Is Artistic license 2.0 permissive? ›

The Artistic License, in its current version 2.0, is a permissive open-source license with no copyleft similar to the MIT license. The main difference between the MIT license and the Artistic License is that the latter requires that any modification made to the code must be clearly stated.

What are viral open source licenses? ›

Viral Open Source License means any license for software that is “open source” or “copyleft” as those terms are commonly understood in the software industry, including, without limitation, any software license that: (i) requires licensees to disclose or otherwise make available the source code for any software ...

Is open source always free? ›

Nearly all open source software is free software, but there are exceptions. First, some open source licenses are too restrictive, so they do not qualify as free licenses. For example, Open Watcom is nonfree because its license does not allow making a modified version and using it privately.

How do I get my open source license? ›

Applying a license to your open source projects
  1. Open your GitHub repository in a browser.
  2. In the root directory, click on Create new file .
  3. Name the file “LICENSE”.
  4. Click on Choose a license template .
  5. Pick one of the licenses (all the ones mentioned in this article are there).
  6. Once chosen, click on Review and submit .
17 Oct 2017

Can I copy open source code? ›

It is never ok to copy and paste code from an open source project directly into your proprietary code. Don't do it. Just don't.

Which is a disadvantage of Apache Web server? ›

While creating personalized protocol means new bugs will also be created. Thus need for debuggers arise. Requires a strict updating policy that needs to be done regularly without fail. Recognising and disabling unwanted services and modules.

How is Apache funded? ›

¶ Established in 1999, the ASF is a US 501(c)(3) charitable organization, funded by individual donations and corporate sponsors. Our all-volunteer board oversees more than 350 leading Open Source projects, including Apache HTTP Server -- the world's most popular Web server software.

Is GPL compatible with Apache? ›

0 and GPL Compatibility. The Free Software Foundation considers the Apache License, Version 2.0 to be a free software license, compatible with version 3 of the GPL. The Software Freedom Law Center provides practical advice for developers about including permissively licensed source.

Is everything on GitHub open source? ›

GitHub is not open source. Pragmatically, this doesn't make much of a difference to most users. The vast majority of code put onto GitHub is, presumably, encouraged to be shared by everyone, so GitHub's primary function is a sort of public backup service.

What are the different types of open source licenses? ›

There are two main types of open source licenses: permissive and copyleft. Permissive licenses tend to have fewer restrictions on use of the licensed code than copyleft licenses. Here's a full breakdown.

Does GitHub own your code? ›

When you put code on GitHub, you retain all the copyright to your code. However, you do grant GitHub a license to host the code, and you also allow GitHub users a set of rights - namely the ability to look at, and fork your repository.

Is Linux a open-source? ›

Linux is a free, open source operating system (OS), released under the GNU General Public License (GPL). It's also become the largest open source software project in the world.

What is weak copyleft? ›

Strong and weak copyleft

Thus, the term "weak copyleft" refers to licenses where not all derivative works inherit the copyleft license; whether a derivative work inherits or not often depends on how it was derived. "Weak copyleft" licenses are often used to cover software libraries.

How do I get my MIT license from github? ›

In the file name field, type LICENSE or LICENSE.md (with all caps). To the right of the file name field, click Choose a license template. On the left side of the page, under "Add a license to your project," review the available licenses, then select a license from the list. Click Review and submit.

Is MIT a copyleft? ›

The MIT License is compatible with many copyleft licenses, such as the GNU General Public License (GNU GPL). Any software licensed under the terms of the MIT License can be integrated with software licensed under the terms of the GNU GPL.

Is GPL a copyleft? ›

The license grants the recipients of a computer program the rights of the Free Software Definition. These GPL series are all copyleft licenses, which means that any derivative work must be distributed under the same or equivalent license terms.

Is BSD license open source? ›

BSD licenses are a low restriction type of license for open source software that does not put requirements on redistribution. As a low restriction and requirement license type, Berkeley Source Distribution (BSD) licenses are used for the distribution of many freeware, shareware and open source software.

Is Apache all open source? ›

Is Apache software open source? ¶ Yes. The Apache License meets both the Open Source Initiative's (OSI) Open Source Definition, and the Free Software Foundation's definition of "free software".

What is latest Apache version? ›

The current latest release for Apache httpd is version 2.4. 46. However, this is more of a minor update with a small handful of security updates addressing CVE-2020-11984, CVE-2020-11993, and slight modifications to mod_http2. The last major release of Apache server was 2.4 and that was close to a decade ago.

Is Apache still used? ›

It's true. Apache is still the number one web server on the internet, and will likely be for quite some time. I know Nginx is all the rage, but Apache is more extensible, easier to configure in a fair number of use cases, and, as of version 2.4 and later, is roughly comparable in performance.

What are the 4 types of software licenses? ›

What Are the Different Software License Types?
  • Open Source Software Licenses. ...
  • Public Domain License. ...
  • Permissive License. ...
  • Restrictive Licenses. ...
  • LGPL. ...
  • Proprietary Software License Types. ...
  • Subscription vs Perpetual Licensing. ...
  • User Licensing: Named Users vs Concurrent Users.
23 Jul 2020

Is MIT license good? ›

As the MIT license is permitted for the closed source as well, it makes it a great license for commercial purposes. As the license is so permissive, the code is used by many people to develop third-party software.

Is MIT license free for commercial use? ›

Can I use MIT-licensed code commercially? Yes. There are no restrictions on commercial use.

What is the impact of Apache license? ›

The Apache License is a permissive open-source license that provides an open code base and encourages contribution. A key benefit of the Apache license is that while it is open, it still enables commercial vendors to build on top of the code to develop and sell enterprise solutions.

What is Apache software used for? ›

As a Web server, Apache is responsible for accepting directory (HTTP) requests from Internet users and sending them their desired information in the form of files and Web pages. Much of the Web's software and code is designed to work along with Apache's features.

What can I do with MIT license? ›

The primary terms and conditions of the MIT license are to grant permissions and indemnify developers for future use. Specifically, it grants any person who obtains a copy of the software and associated files the right to use, copy, modify, merge, distribute, publish, sublicense, and sell copies of the software.

What license should I use for github? ›

We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors.

Why is Apache license Popular? ›

It has no copyleft provisions, and it contains no political agenda. It is compatible with other software licenses. It gives end users favorable rights and protects them against short and long-term risk. The Apache Software Foundation is satisified with it, and much of the web runs on software with this license.

Is Apache 2.0 compatible with MIT? ›

Since the MIT license is compatible with the Apache 2.0 license (which is also a very permissive license), you can bundle those components together under the Apache license.

Can I modify Apache licensed code? ›

The Apache license allows end users to modify parts of the original code under any license as long as it contains the appropriate documentation that Apache requires within the redistributed code.

Is Apache all open source? ›

Is Apache software open source? ¶ Yes. The Apache License meets both the Open Source Initiative's (OSI) Open Source Definition, and the Free Software Foundation's definition of "free software".

What is latest Apache version? ›

The current latest release for Apache httpd is version 2.4. 46. However, this is more of a minor update with a small handful of security updates addressing CVE-2020-11984, CVE-2020-11993, and slight modifications to mod_http2. The last major release of Apache server was 2.4 and that was close to a decade ago.

Who uses Apache software? ›

Who Uses Apache Web Server? Apache HTTP web servers are used by over 67% of all web servers in the world. Apache web servers are easy to customize environments, they're fast, reliable, and highly secure.

Is the MIT license free? ›

Massachusetts Institute of Technology (MIT) License is free license software. The MIT License grants the software end user rights such as copying, modifying, merging, distributing, etc.

Can I sell MIT license software? ›

MIT license is far more open and allows anyone to use and sell the software with or without modification. So if you use MIT licensed code inside something you want to sell you're free to do so.

Is MIT Licence good? ›

As the MIT license is permitted for the closed source as well, it makes it a great license for commercial purposes. As the license is so permissive, the code is used by many people to develop third-party software.

How many open source licenses are there? ›

There are over 80 variations of open-source licenses, but they generally fall into one of two primary categories: copyleft and permissive.

Is everything on GitHub open source? ›

GitHub is not open source. Pragmatically, this doesn't make much of a difference to most users. The vast majority of code put onto GitHub is, presumably, encouraged to be shared by everyone, so GitHub's primary function is a sort of public backup service.

Does GitHub own your code? ›

When you put code on GitHub, you retain all the copyright to your code. However, you do grant GitHub a license to host the code, and you also allow GitHub users a set of rights - namely the ability to look at, and fork your repository.

Videos

1. What You Need to Know About Open Source—Trust Me, I’m a Lawyer / Jeff Strauss
(NDC Conferences)
2. Dealing with Open Source Licenses
(NERD Summit)
3. Google's Open-Source Silicon Initiative with Global Foundries
(MegawattKS)
4. Innersource And The Apache Way: How To Learn Open Source
(TheApacheFoundation)
5. "Trillions and Trillions Served" documentary feature on The Apache Software Foundation
(TheApacheFoundation)
6. Apache Solr vs Elasticsearch Differences | How to Choose Your Open Source Search Engine - Sematext
(Sematext)

Top Articles

You might also like

Latest Posts

Article information

Author: Maia Crooks Jr

Last Updated: 11/30/2022

Views: 5376

Rating: 4.2 / 5 (43 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Maia Crooks Jr

Birthday: 1997-09-21

Address: 93119 Joseph Street, Peggyfurt, NC 11582

Phone: +2983088926881

Job: Principal Design Liaison

Hobby: Web surfing, Skiing, role-playing games, Sketching, Polo, Sewing, Genealogy

Introduction: My name is Maia Crooks Jr, I am a homely, joyous, shiny, successful, hilarious, thoughtful, joyous person who loves writing and wants to share my knowledge and understanding with you.