Glossary termSoftware license

GNU General Public License

Also known as: GNU GPL, GPL

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

The GNU General Public License is a free software license written by Richard Stallman for the GNU Project and published by the Free Software Foundation. It grants users the freedoms to run, study, modify and share a program. In exchange, anyone who distributes the program or a work based on it must license the whole work under the GPL and make the corresponding source code available. These obligations arise on distribution; private use and modification do not trigger them. Like most licenses, it disclaims warranties.

Version 1 appeared in 1989 and version 2 in 1991. Version 3, released in 2007 after public consultation, added an explicit patent license, terms addressing devices that run modified software only if it is signed by the manufacturer, provisions concerning anti-circumvention laws and compatibility with the Apache License 2.0. The Linux kernel is licensed under GPLv2 only, while many projects use version 2 or later. Related licenses include the Lesser GPL for libraries and the Affero GPL for network services.

The GPL is among the most widely used free software licenses, covering the Linux kernel, Git, WordPress and many GNU tools. Courts in several countries, including a German court in 2004, have treated it as enforceable. Its reach is not always simple to determine: whether a separate program that links to GPL code forms a combined work is debated and can depend on technical details and jurisdiction. Organizations distributing GPL software commonly use compliance processes, and specific questions call for qualified legal advice.

Key points

  • The GPL requires distributors of derived works to license them under the GPL with source code.
  • Its obligations apply when software is distributed, not when it is used or modified privately.
  • GPLv3 added patent terms and provisions about locked-down devices.
  • The Linux kernel uses GPLv2 only, which is not compatible with GPLv3 code.

Related entries

Glossary term

Licensing approach that grants freedom to use, modify and share a work on condition that distributed derivatives carry the same freedoms.

Glossary term

Free Software

FOSSIdeas and Culture

Software that respects users' freedom to run, study, change and share it, a definition centered on liberty rather than price.

Organization

Nonprofit organization founded by Richard Stallman in 1985 to promote computer user freedom and support the GNU Project and free software.

Person

American free software activist and programmer who launched the GNU Project, founded the Free Software Foundation and wrote the GNU General Public License.

Technology

Linux

FOSSHardware

Free and open-source Unix-like kernel created by Linus Torvalds in 1991 that underpins Android, most servers and many embedded devices.

Organization

Nonprofit organization that provides a legal and financial home for free software projects and works to enforce copyleft licenses such as the GPL.

Glossary term

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

Featured in guides

Referenced by

Other entries that discuss or point to GNU General Public License.