Glossary termSoftware license

Apache License

Also known as: Apache License 2.0, Apache-2.0

Permissive software license from the Apache Software Foundation that includes an explicit patent grant and requires notice of changes.

The Apache License is a permissive license written by the Apache Software Foundation. Version 2.0 lets anyone use, modify and distribute software, including in proprietary products, on conditions that include providing a copy of the license, keeping copyright, patent, trademark and attribution notices, carrying forward any NOTICE file and marking files that have been modified. It does not grant rights to use the licensor's trademarks, and it disclaims warranties.

Earlier versions resembled the BSD licenses. Version 2.0, released in 2004, was rewritten to be usable by projects outside the foundation and added an express patent license: each contributor grants users a license to any of their patents that the contribution would otherwise infringe. That patent license terminates for anyone who starts patent litigation claiming the work infringes a patent. The license is used by Kubernetes, TensorFlow, much of Android's open-source code and many other projects.

The patent provisions make the license attractive to companies that want clarity about patent rights. The Free Software Foundation considers Apache 2.0 compatible with GPL version 3 but not with GPL version 2, which matters when combining code. Rust and many other projects dual-license under Apache 2.0 and the MIT License to give users a choice. The text is longer and more detailed than MIT or BSD terms, and specific compliance questions call for qualified legal advice.

Key points

  • Apache 2.0 includes an explicit patent grant from contributors.
  • The patent license ends for anyone who sues claiming the work infringes a patent.
  • Distributors must keep notices and mark the files they have modified.
  • It is compatible with GPLv3 but not GPLv2, according to the FSF.

Related entries

Glossary term

Category of free and open-source license that allows reuse with minimal conditions, usually attribution, including in proprietary software.

Organization

Nonprofit corporation that supports hundreds of free and open-source software projects, including the Apache HTTP Server, built by volunteer communities.

Glossary term

Short permissive software license, originating at MIT, that allows almost any use provided the copyright and permission notice are kept.

Glossary term

Family of permissive licenses that began with the Berkeley Software Distribution, requiring little more than retention of copyright notices.

Glossary term

Widely used copyleft license from the Free Software Foundation that requires distributed derivative works to stay under the GPL with source available.

Glossary term

Software Patent

FOSSIdeas and Culture

Patent covering an invention carried out by software, such as a method performed by a computer, whose eligibility varies between jurisdictions.

Technology

Kubernetes

DevOpsFOSS

Open-source system for automating deployment, scaling and management of containerized applications across clusters of machines.

Featured in guides

Referenced by

Other entries that discuss or point to Apache License.