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?
1
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.
2
Most permissive licenses would be suitable for your purpose, because a permissive license allows to combine the work with another and release it under any license you want. But keep in mind that some conditions might apply, like giving credit to the original authors. So make sure to read the license properly before considering it for use in your project. The most widely-used software licenses of this kind are the MIT license and the BSD license family.
When you don’t intend to modify the library, you can also use libraries licensed under the LGPL. This version of the GPL has an exception which allows dynamic linking (but not static linking!) with a program under any other license.