Understanding open source licenses


Open source licenses are licenses that comply with the Open Source Definition — in brief, they allow software to be freely used, modified, and shared. To be approved by the Open Source Initiative (also known as the OSI), a license must go through the Open Source Initiative’s license review process.

There has been an increase release of open source software from the day of Linux. Today most popular frame works like bootstrap and software such as Atom IDE used by developers are open source. We often never worry about using open source code but do you know what the license under which the frame you’re using was released means?

A list of all open source licenses.

The MIT license, GNU (GPL), the BSD 2 and the Apache license 2.0 are the most used open source licenses in that order.

Open source software and source code can be used for commercial purposes *almost* (see comment below) in all the open source licenses. However, note that commercial is not the same as proprietary. If you receive software under an Open Source license, you can always use that software for commercial purposes, but that doesn’t always mean you can place further restrictions on people who receive the software from you.

Copy Left

Another factor associated with open source code notably under the GNU license is copy-left. “Copyleft” refers to licenses that allow derivative works but require them to use the same license as the original work. For example, if you write some software and release it under the GNU General Public License (a widely-used copyleft license), and then someone else modifies that software and distributes their modified version, the modified version must be licensed under the GNU GPL too — including any new code written specifically to go into the modified version. Both the original and the new work are Open Source; the copyleft license simply ensures that property is perpetuated to all downstream derivatives. There also non copy left licenses like the BSD.

BSD and other such licenses that don’t allow for copy left and guarantee the freedoms to use, modify, and redistribute, but that permit proprietary derivative works are called permissive” Open Source license

There is software that is released under the Creative Commons “CC0” (“CC Zero”) like the C GNU compiler. The CCO is not an open source license but rather essentially a statement of intent by the copyright holder to waive copyright ownership in the work — that is, the copyright holder wishes to place the work into the public domain.

As developers it’s important that you understand the license the open source code you’re using is bound to least you caught in a legal battle after your product becomes a big thing.

  • OpenSourceInitiative

    Mr Sempijja,

    Thank you for your post on open source software, and helping to raise awareness of issues related to open source licensing.

    We at the Open Source Initiative (OSI) would like to offer one clarification. The article states, “Open source software can be used for commercial purposes *almost* in all the open source licenses.” The word “almost” caught our attention as all software distributed with an OSI Approved Open Source License can be used for commercial purposes; the Open Source Definition guarantees this. You can even sell open source software.

    Sadly, the OSI is seeing more and more nefarious actors in the technology sector apply what they claim are open source licenses to their work, but actually do not align with the Open Source Definition by including restrictions on commercial use and commercial sales.

    Again all OSI Approved Open Source Licenses allow commercial use and sale.

    Thank you again for your post and helping to inform the public on the value, principles and attributes of opens source software and the role of the Open Source Initiative.

    Patrick Masson
    GM & Director,
    Open Source Initiative

    • Ivan Sempijja

      Thank you for the clarification, the article will be updated accordingly. And we appreciate your time.