What open source library licenses can I use in closed-source

licensingopen sourcethird-party-libraries

I like to create a closed-source program and sell it. I would like to make use of various open source libraries to make it easier to write this program.

So how I will choose the libraries that I could use. Which licenses for libraries could I use? I only will use the library – I will not edit the libraries.

Which licenses allowed me to use it for closed-source program?

Best Answer

If you want to remain free in which license to choose for your own parts of the application, you can use libraries with any license that doesn't try to extend its scope to the entire program, but is limited to the library in question.

So, the licenses that you must avoid are strong copyleft licenses, such as GPL and AGPL.
If you want to use a library with LGPL license, then you must ensure that your users are given the means to replace that library with a version of their own. The users that do this are assumed to have enough programming knowledge to use a compiler.