GNU General Public License v2.0and commercial use.

The GNU GPL version 2 is a strong copyleft licence. Anyone who distributes the program or a work based on it must license the whole work under the GPL and provide the corresponding source code. Many projects use it with the 'or any later version' option, while others, such as the Linux kernel, use version 2 only.

Strong copyleft
Licence family
Yes
OSI approved
High
M&A risk rating
GPL-2.0-only
SPDX identifier

Commercial and
SaaS use.

Commercial products

Yes. GPL-2.0 software can be used commercially and sold. Distributing a product that includes or is based on GPL-2.0 code requires releasing the combined work's source under the GPL.

Hosted and SaaS use

Running GPL-2.0 software on your own servers is not distribution, so a hosted service can use or modify GPL-2.0 code without releasing its source.

Patent grant

None explicit. GPL-2.0 has no express patent licence, though section 7 prohibits distribution if patent obligations would prevent recipients from exercising GPL rights.

Risk in an acquisition

High risk

Acquirers check whether GPL-2.0 code is combined with proprietary code in anything the target distributes, such as on-premise software, mobile apps, appliances or SDKs. A distributed derivative can oblige the target to release source code, which affects the value of the proprietary IP. Hosted-only use is lower risk, but buyers still record it in case the deployment model changes.

What you must do

  • Provide the complete corresponding source code, or a written offer for it, when distributing binaries
  • License the whole work based on the program under the GPL-2.0 when distributed
  • Keep copyright notices and the disclaimer of warranty, and include a copy of the licence
  • Mark modified files with notices stating that you changed them and the date
  • Do not impose further restrictions on recipients' exercise of the GPL rights

Commonly combined with

MITBSD-2-ClauseBSD-3-ClauseISCLGPL-2.1MPL-2.0 (via Secondary License)GPL-3.0 (only when licensed 2.0 or later)

Well-known projects under GPL-2.0-only

Linux kernelGitWordPressMySQL Community Server

Sources

This page is a plain-English summary for technology diligence and is not legal advice. Licence obligations depend on how the code is used and distributed; confirm specific cases with counsel.

Frequently asked
questions.

Can I use GPL 2.0 code in a commercial SaaS product?

Yes. The GPL-2.0 obligations apply to distribution. Running modified or unmodified GPL-2.0 code on your servers to deliver a service does not require you to release your source code. Shipping the code to customers, for example in an installer or appliance, does.

Is GPL 2.0 compatible with Apache 2.0?

The Free Software Foundation considers Apache-2.0 incompatible with GPL version 2 because of Apache's patent termination and indemnification provisions. Projects licensed 'GPL-2.0 or later' can combine with Apache-2.0 code under GPL version 3.

Can I sell software that contains GPL 2.0 code?

Yes. The GPL permits charging for copies, but recipients must receive the corresponding source code and the same GPL rights to modify and redistribute it.

Open-source risk
in a target's code?

We scan the codebase, build the SBOM and flag licence obligations that matter for the deal. We respond within one business day with a proposed scope and fee.