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

GNU LGPL v3.0 vs GNU GPL v3.0

LGPL can be promoted into GPLv3; the reverse is not allowed.

CompatibilityOne way

LGPL-3.0 is GPLv3 with a linking exception. Section 3 lets you convert the LGPL part into GPLv3, so LGPL code can enter a GPLv3 project. GPLv3 code cannot become LGPL, because that would remove rights the GPL grants.

Side by side

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

AttributeGNU LGPL v3.0GNU GPL v3.0
OSI approvedYesYes
FSF free licenceYesYes
Commercial useYesYes
Closed-source productYesNo
Patent grantYesYes
Trademark grantNoNo
Notice requiredYesYes
Mark modified filesYesYes
Disclose sourceDistributionDistribution
Same licence coversThe libraryThe whole work
Network clauseNoNo
Link into proprietaryYesNo
Relicense freelyPartlyNo

What actually differs

  • Closed-source product — Yes for GNU LGPL v3.0, No for GNU GPL v3.0.
  • Same licence covers — The library for GNU LGPL v3.0, The whole work for GNU GPL v3.0.
  • Link into proprietary — Yes for GNU LGPL v3.0, No for GNU GPL v3.0.
  • Relicense freely — Partly for GNU LGPL v3.0, No for GNU GPL v3.0.

Same in both: OSI approved, FSF free licence, Commercial use, Patent grant, Trademark grant, Notice required, Mark modified files, Disclose source, Network clause.

Which one to pick

GNU LGPL v3.0

Modern C/C++ libraries that want closed-source users but keep improvements open.

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 LGPL v3.0 → GNU GPL v3.0

compatible

GNU GPL v3.0 → GNU LGPL v3.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 LGPL v3.0 and GNU GPL v3.0 in the same project?

LGPL-3.0 is GPLv3 with a linking exception.

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.