LicensePlain 中文 visits —
Home / Commercial use / GNU GPL v2.0
Strong copyleftSPDX GPL-2.0-only

Can I use GNU GPL v2.0 commercially?

VerdictYes — commercially, without asking.

You may sell products that contain this code, charge for them and keep the revenue. No royalty is owed and no permission is needed.

In practice

GNU GPL v2.0 allows commercial use — selling software is explicitly fine — but the freedom travels with the code. If you distribute a derivative work you must hand recipients the corresponding source under the same licence, which rules out a closed-source product built on it.

Selling the product

Charging for a binary, a hosted plan or a support contract is a commercial use, and none of the licences on this page forbid it. The GPL family says so in as many words.

Using it inside a company

Internal use inside one organisation is normally not distribution. That is why a company can run GPL software on its own laptops without publishing anything.

What triggers obligations

Distribution, or — for AGPL and SSPL — offering the software to outside users over a network. Those are the events that start the paperwork.

Conditions that come with the yes

  • keep the copyright and permission notice in every copy
  • mark the files you changed
  • hand the source to anyone you distribute binaries to
  • license the whole derivative work under the same licence

Where it stops

  • keep your derivative closed source
  • change the licence on a derivative work
  • modify it without marking the changes

The thing people get wrong

GPL-2.0-only cannot be mixed with GPL-3.0 code or with Apache-2.0 code; projects that say "or later" avoid both problems.

Read next

Full licence page

A commercial-use answer is a fact about the licence, not about your business. If the code sits inside a product you sell, the distribution clause is what matters — read the compliance page for this licence.

Questions

Can I use GNU GPL v2.0 commercially?

You may sell products that contain this code, charge for them and keep the revenue. No royalty is owed and no permission is needed.

Do I have to keep the copyright notice?

Ship the source with binaries; licence the derivative work under GPL-2.0; keep notices; no extra restrictions.

Do I have to publish my changes?

Ship the source with binaries; licence the derivative work under GPL-2.0; keep notices; no extra restrictions.