LicensePlain 中文 visits —
Home / Compare / GNU GPL v2.0 vs GNU GPL v3.0
GPL-2.0 vs GPL-3.0Strong copyleft · Strong copyleft

GNU GPL v2.0 vs GNU GPL v3.0

Two copyleft generations that do not merge.

CompatibilityNot compatible

GPL-2.0-only and GPL-3.0 are different licences with different terms, and neither allows adding the restrictions of the other. “GPL-2.0-or-later” is the wording that avoids the problem entirely — which is why so many older projects adopted it.

Side by side

Rows that differ are marked. Everything else behaves the same in both licences.

AttributeGNU GPL v2.0GNU GPL v3.0
OSI approvedYesYes
FSF free licenceYesYes
Commercial useYesYes
Closed-source productNoNo
Patent grantPartlyYes
Trademark grantNoNo
Notice requiredYesYes
Mark modified filesYesYes
Disclose sourceDistributionDistribution
Same licence coversThe whole workThe whole work
Network clauseNoNo
Link into proprietaryNoNo
Relicense freelyNoNo

What actually differs

  • Patent grant — Partly for GNU GPL v2.0, Yes for GNU GPL v3.0.

Same in both: OSI approved, FSF free licence, Commercial use, Closed-source product, Trademark grant, Notice required, Mark modified files, Disclose source, Same licence covers, Network clause, Link into proprietary, Relicense freely.

Which one to pick

GNU GPL v2.0

Legacy kernel-adjacent and embedded projects that never upgraded.

Licence page

GNU GPL v3.0

New GNU projects and anything that wants patent language and Apache-2.0 compatibility.

Licence page

Can you mix them?

GNU GPL v2.0 → GNU GPL v3.0

not compatible

GNU GPL v3.0 → GNU GPL v2.0

not compatible

Compatibility statements are one-way and general. How you combine the code — linking, subprocess, copying files — can change the answer, so check the FSF list for anything unusual.

Questions

Can I use GNU GPL v2.0 and GNU GPL v3.0 in the same project?

GPL-2.0-only and GPL-3.0 are different licences with different terms, and neither allows adding the restrictions of the other.

What happens if I get the direction wrong?

You end up distributing code under terms its authors never granted — which is copyright infringement, not a technicality. The fix is usually to relicense the outbound side to the stricter licence.

Do both licences require a NOTICE file?

Apache-2.0 does when the upstream project ships one; MIT and the BSD licences have no NOTICE convention at all.