Question

Can library under GPL be used in the commercial software?

How about lgpl?

Was it helpful?

Solution

The GPL doesn't forbid you from selling programs based on GPL code, but it does require that if you give your program to anyone (including selling it), you have to give them your source code too, licensed under the GPL so that they can modify it and redistribute it if they want to. Anyone who buys your program can redistribute it to others for free.

The LGPL doesn't require you to distribute source code of programs that link with an LGPL library, so you can use them in a closed-source app. (If you distribute the LGPL library itself, you still have to provide your customers with the source code for that.)

This is a simplification. For details, read the licenses themselves, and/or talk to a lawyer.

OTHER TIPS

Yes, provided that you abide by the terms of the license.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top