Skip to content

GNU General Public License

Written by GPT-6 Luna from the web 18 of 68 sentences cited

An AI wrote this article, and it can be wrong.

The GNU General Public License (GNU GPL, or GPL) is a family of free-software licenses that lets people use, study, modify and redistribute software while requiring certain redistributed versions to preserve those freedoms. It is a form of copyleft: it uses copyright permissions to make sharing and modification possible, while placing conditions on redistribution. Its influence comes in part from its use by GNU software and the Linux kernel, and from its role in debates about how software freedoms should apply when programs are modified, combined or built into consumer devices.12

The GPL does not require a developer to publish every change, or require users to share software they keep private. Its main obligations concern distributing copies and modified versions: recipients must receive the rights the applicable GPL version grants, and distributors must meet that version’s conditions for providing source code. The license has appeared in three versions, with version 3 published in 2007; the Free Software Foundation (FSF), which publishes it, continues to list version 3 as the latest. Projects may specify different versions or allow use under “any later version,” so the terms applying to a program depend on its own licensing notice.34

Origins

The GPL emerged from the GNU Project, a 1980s effort to develop a free Unix-like operating system. Richard Stallman wrote the first version, released in 1989, after GNU developers had used different licenses for separate programs and sought a common set of terms. The FSF published the license so it could cover GNU software and also be used by projects outside GNU. The license’s stated aim was to protect users’ ability to share and change software, not to make software available without charge.51

Version 2 followed in June 1991. Among its central provisions, it set out terms for copying and modifying software, and conditions for distributing executable versions. The Linux kernel adopted GPL version 2 in the early 1990s; its developers later specified that the kernel is licensed under version 2 only, rather than version 2 or any later version. The GPL thus became prominent beyond the GNU Project, while Linux’s choice also showed that individual projects could decide which version applied to their code.62

How it works

The GPL grants permissions to run, copy, modify and distribute covered software, including for commercial purposes. “Free” in the license’s sense refers to users’ freedoms, not a requirement that copies cost nothing. A distributor may charge for copies or services, but cannot use the GPL to deny recipients the license rights that accompany the software. This approach differs from placing software in the public domain: the copyright remains, and the license uses it to set redistribution conditions.13

When a distributor conveys a covered program in executable form, the GPL requires a way for recipients to obtain the corresponding source code under the applicable version’s terms. The source is the form needed to modify the program; for GPL version 3, the license also addresses the scripts and other information needed to generate and install executable versions. A distributor may satisfy the source-code condition through one of the methods permitted by that version, rather than necessarily including source alongside every copy. The details differ between versions.71

The license does not generally require publication of changes made and used privately. The FSF also distinguishes distributing software from running modified software on a server: under the GPL, operating a program as a web service does not by itself trigger the distribution-related source-code requirement. The GNU Affero General Public License (AGPL) was designed to address network use differently, by imposing a source-code offer in certain cases where users interact with a modified program over a network.38

Versions

Version 1, released in 1989, established the GPL’s basic copyleft approach. Version 2, dated June 1991, included terms addressing legal restrictions that might prevent a distributor from meeting the license’s conditions; the text says that such restrictions do not excuse noncompliance. It became the required license for the Linux kernel, which continues to use GPL version 2 only. Some other projects instead include wording that permits users to choose version 2 or a later version.962

The FSF published GPL version 3 on June 29, 2007, after an 18-month consultation that involved thousands of comments and four drafts. The revision addressed issues including software patents, digital-rights-management restrictions and devices that allow software to be changed in theory but prevent users from installing their own modified versions. For certain consumer products, version 3 requires distributors to provide the information needed to install modified versions. These provisions were intended to strengthen user control, but were not adopted by every project.105

Scope and compatibility

The GPL is a license for software and other works when the relevant source form can be clearly identified. It does not automatically apply to every program associated with GNU or Linux: authors or copyright holders choose the license, and software may use another free-software license or a proprietary license. Nor does using the GPL make a program part of the GNU Project; the FSF distinguishes licensing a program from formally contributing it to GNU.3

Combining code under different licenses can raise compatibility questions. The FSF says GPL version 2 by itself is incompatible with GPL version 3, because their requirements differ; code offered under “version 2 or any later version,” however, may be used under version 3. Compatibility also depends on how works are combined and on the conditions imposed by the other license. The FSF publishes compatibility guidance, but project-specific exceptions and license notices can affect the result.311

Related GNU licenses address different needs. The Lesser General Public License (LGPL) permits certain combinations of a library with non-GPL software, subject to its own conditions. The AGPL extends copyleft obligations to some network interactions. These are distinct licenses, not alternative names for the GPL, and each has its own text and version history.48

Use and influence

The GPL is used across GNU software and projects beyond it. The FSF describes it as applying to most GNU programs and more than half of free-software packages, though that estimate comes from the organization that publishes the license. Its presence in the Linux kernel gives it a prominent role in operating systems and embedded products that incorporate Linux. The kernel’s licensing rules also show how a large project can contain files under other licenses while requiring them to be compatible with the license covering the kernel as a whole.42

The GPL’s reciprocal conditions shape commercial as well as volunteer software development. Companies may sell GPL-covered software and build products that include it, but distribution conditions still apply to covered code. Developers may also license their own work under the GPL and separately grant other permissions, if they hold the necessary rights. For projects with many contributors, changing the license can be difficult because each contributor may retain copyright in their own contributions.312

Disputes and enforcement

GPL version 3’s provisions prompted disagreement during its development. Some Linux kernel maintainers objected to the draft, arguing that its provisions could impose restrictions they did not want and could divide free-software projects. The kernel did not move to version 3, and its current licensing documentation still specifies version 2 only. This difference has practical consequences: code licensed only under version 2 cannot automatically be combined with version 3 code under the FSF’s interpretation of compatibility.1323

Compliance disputes have also concerned who can enforce GPL terms and what source-code or installation materials a distributor must provide. In Software Freedom Conservancy v. Vizio, filed in California, the nonprofit argued that it could enforce source-code rights as a purchaser of televisions containing GPL- and LGPL-covered software; Vizio disputed that claim. A California court ruled in December 2025 that the license terms did not require Vizio to ensure a modified version could be reinstalled on its televisions while keeping them functional. The broader dispute over purchaser enforcement remained unresolved in reporting published in 2026, with a trial scheduled for January 2027.141516

Current status

GPL version 3 remains the latest version listed by the FSF, while older versions remain available for projects that use them. A program’s applicable terms therefore depend on its copyright holders’ licensing choice, not simply on which version is newest. The distinction is especially important for widely reused code: a “version 2 only” notice, a “version 2 or later” notice and an explicit version 3 notice do not grant identical permissions.492

The license continues to structure disputes about software distribution, device modification and the rights of downstream users. Its text sets out permissions and conditions, but applying them can depend on the license version, the way software is conveyed and the legal claims available in a particular jurisdiction. The ongoing Vizio litigation illustrates that the reach of particular GPL obligations, and who may enforce them, can remain contested even when the license text itself is publicly available.116

References

16 sources
  1. VoyagerPublicFacingAppsocscefm1.occourts.org