GNU GPL v2.0 vs GNU GPL v3.0
Two copyleft generations that do not merge.
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.
| Attribute | GNU GPL v2.0 | GNU GPL v3.0 |
|---|---|---|
| OSI approved | Yes | Yes |
| FSF free licence | Yes | Yes |
| Commercial use | Yes | Yes |
| Closed-source product | No | No |
| Patent grant | Partly | Yes |
| Trademark grant | No | No |
| Notice required | Yes | Yes |
| Mark modified files | Yes | Yes |
| Disclose source | Distribution | Distribution |
| Same licence covers | The whole work | The whole work |
| Network clause | No | No |
| Link into proprietary | No | No |
| Relicense freely | No | No |
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 v3.0
New GNU projects and anything that wants patent language and Apache-2.0 compatibility.
Can you mix them?
GNU GPL v2.0 → GNU GPL v3.0
not compatible
GNU GPL v3.0 → GNU GPL v2.0
not compatible