Using open source code in my project [closed]
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this questionI tried to find the right answer to my question but I couldn't, that's why I am here now.
Can I sell the application that I developed but contains some open source libraries? Or do I have to find people that created those libraries and ask them for permissions/pay them?
That might be a silly question but I really need to know how that 开发者_JAVA技巧works. I am currently developing mobile app that uses someone else's library (hosted on Google Code) and I don't know if I should mention that to my client?
Thanks for any help, marqss
It depends on the open source license of each library. You'll need to examine the licenses individually to determine what you can legally do with their libraries. For instance, the GPL puts some very severe restrictions on what you can do with an application linking to a GPL library. (It's a copyleft license, its goal is for you to also license your app's source openly; thus it's both very open and very restrictive.) The LGPL has fewer restrictions. An MIT-style license is much freer. Some projects roll their own. Others use CreativeCommons licenses. You get the idea.
It all depends on the license.
Open source licenses are also commonly free, allowing for modification, redistribution, and commercial use without having to pay the original author. Some open source licenses only permit modification of the source code for personal use or only permit non-commercial redistribution.
See: Open-Source License, Comparison of Free Software Licenses
If it's GPL, you can sell your app but you have to make your app GPL too (meaning you have to share your source).
Apache and MIT are much, much less restrictive.
Be sure to read up on what the license is for the project you are wanting to include and follow what the license tells you to do.
精彩评论