Open Source Licenses

Open source licenses grant permission for anybody to use, modify, and share licensed software for any purpose, subject to conditions preserving the provenance and openness of the software. 

Types

MIT License

Permissive Type 

 

Origin

A joint project in 1983 between IBM, MIT, and Digital Equipment Corporation (DEC) seems to be the origin of the MIT license and it is one of the most commonly used licenses. 

 

Terms

The primary terms and conditions of the MIT license are to grant permissions and indemnify developers for future use. Specifically, it grants any person who obtains a copy of the software and associated files the right to use, copy, modify, merge, distribute, publish, sublicense, and sell copies of the software.

 

The only condition required to use the software is to include the same copyright notice in all copies or any substantial portions of the software. The final portion of the text provides for limitations and revokes any warranty implied by sharing the code. It allows any user to do anything with the code, granted they provide attribution and do not claim any liability in the future. 

 

How to Use

To use the MIT license, developers need to copy the text as provided and include in source files as applicable. If using any other MIT licensed software in the project, retain the original license information at the top of the file, while keeping the copyright statements (if unchanged).

 

Commercial Use

MIT licenses allow commercial use. Users do not have to provide any other source code when releasing new software. Including the attributions and original MIT license in the reused code will suffice.

MIT LICENSE TEMPLATE

 

Copyright <YEAR> <COPYRIGHT HOLDER>

 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

 

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 

Apache 2.0

Permissive

 

Origin

 

 In 2000, the Apache Group (later the Apache Software Foundation) created the Apache License 1.1, in which derived products are no longer required to include attribution in their advertising materials, only in their documentation. In January 2004, ASF decided to depart from the BSD model and produced the Apache License 2.0. The stated goals of the license included making it easier for non-ASF projects to use, improving compatibility with GPL-based software, allowing the license to be included by reference instead of listed in every file, clarifying the license on contributions, and requiring a patent license on contributions that necessarily infringe a contributor’s own patents.

 

Terms

 

The Apache License does not require a derivative work of the software, or modifications to the original, to be distributed using the same license but it still requires application of the same license to all unmodified parts. 

 

If a NOTICE text file is included as part of the distribution of the original work, then derivative works must include a readable copy of these notices within a NOTICE text file distributed as part of the derivative works, within the source form or documentation, or within a display generated by the derivative works (wherever such third-party notices normally appear) 

 

 

The Apache License includes:

 

  1. Grant of Copyright License – Grants a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
  2. Grant of Patent License – Grants a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
  3. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
    1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
    2. You must cause any modified files to carry prominent notices stating that You changed the files; and
    3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
    4. If the Work includes a “NOTICE” text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
    5. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
  4. Submission of Contributions – Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
  5. Trademarks – This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
  6. Disclaimer of Warranty – Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
  7. Limitation of Liability – n no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
  8. Accepting Warranty or Additional Liability – While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability

How to Use

To use the Apache 2.0 license,  the user need to copy the text as provided. In every licensed file, original copyright, patent, trademark, and attribution notices must be preserved (excluding notices that do not pertain to any part of the derivative works). In every licensed file changed, a notification must be added stating that changes have been made to that file.

 

Commercial Use

This licenses allow commercial use. Users do not have to provide any other source code when releasing new software. Including the attributions and original license in the reused code will suffice.

Apache License 2.0 Template

Copyright <YEAR> <COPYRIGHT HOLDER>

 

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License.You may obtain a copy of the License at

 

http://www.apache.org/licenses/LICENSE-2.0

 

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

GNU GENERAL PUBLIC LICENSE Version 2&3 (GPL-2.0/GPL-3.0)

Copyleft

 

Origin

The development of GNU, a Unix-like operating system, started in January 1984, is known as the GNU Project. Many of the programs in GNU are released under the auspices of the GNU Project. The name “GNU” is a recursive acronym for “GNU’s Not Unix.” GNU is typically used with a kernel called Linux but itself is NOT Linux. GNU/Linux is used by millions, though many call it “Linux” by mistake.

 

The GPL was written by Richard Stallman in 1989, for use with programs released as part of the GNU project. The original GPL was based on a unification of similar licenses used for early versions of GNU Emacs (1985), the GNU Debugger, and the GNU C Compiler. These licenses contained similar provisions to the modern GPL, but were specific to each program, rendering them incompatible, despite being the same license. Stallman’s goal was to produce one license that could be used for any project, thus making it possible for many projects to share code.

 

 

The second version of the license, version 2, was released in 1991. Over the following 15 years, members of the free software community became concerned over problems in the GPLv2 license that could let someone exploit GPL-licensed software in ways contrary to the license’s intent. These problems included tivoization (the inclusion of GPL-licensed software in hardware that refuses to run modified versions of its software), compatibility issues similar to those of the Affero General Public License, and patent deals between Microsoft and distributors of free and open-source software, which some viewed as an attempt to use patents as a weapon against the free software community.

 

 

Version 3 was developed to attempt to address these concerns and was officially released on 29 June 2007.

 

 

 

Terms

 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 60 per cent of open source software use this license like Linux and Busybox. It has a claus

 

The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software–to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation’s software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.

 

 

When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.

 

 

To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.

 

 

For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

 

 

We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.

 

 

Also, for each author’s protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors’ reputations.

 

 

Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone’s free use or not licensed at all.

 

 

The precise terms and conditions for copying, distribution and modification follow.

 

The GPLV2 was the former licenses released in 1991 while the most recent, the GPLV3, was released in 2007.

2.GPLV3 is longer compared to the GPLV2 since it almost tried to cover the same issues with the former license.

3.GPLV3 has more clarity on patent licenses, mostly on the wording of the license as it cannot be interpreted as “too broad.” It also applies to the protection of the patents unlike the GPLV2.

4.The GPLV2 has loopholes that the GPLV3 is trying to fix. The loophole has acquired the term Tivoization which is derived from a digital video recorder which captures television programming and saves the data into an internal hard drive storage for future viewing.

5.GPLV2 has a new section that has been added to the license called Protecting Users’ Legal Rights from Anti-Circumvention Law. The section’s intention is to prevent the GPVL3 from being included in technology or products that would be used to enforce the Digital Millennium Copyright Act (DCMA).

6.GPLV3 code is more compatible with more licenses compared to the former license.

 

Read more: Difference Between GPLV2 and GPLV3 | Difference Between http://www.differencebetween.net/technology/software-technology/difference-between-gplv2-and-gplv3/#ixzz7VYiWQPpN

 

How to Use

Here’s a brief summary of what you need to do to release a program under one of our licenses:

  • Get a copyright disclaimer from your employer or school.
  • Give each file the proper copyright notices. Make sure to clearly identify which versions of the license users can use.
  • Add a COPYING file with a copy of the GNU GPL or GNU AGPL.
  • Also add a COPYING.LESSER file with a copy of the GNU LGPL, if you use that.
  • Put a license notice in each file.
  • (Optionally) make the program display a startup notice.
  • (If using the AGPL) make the program offer copies of its source code.

This involves adding two elements to each source file of your program: a copyright notice (such as “Copyright 1999 Terry Jones”), and a statement of copying permission, saying that the program is distributed under the terms of the GNU General Public License (or the Lesser GPL, or the Affero GPL).

 

Commercial Use

This license does not allow commercialization, if someone creates derivative work it is required to have the GPL license as well and is provided for free 

GNU GENERAL PUBLIC LICENSE Version 3 (GPL-3.0)

Copyright (C) <YEAR> <COPYRIGHT HOLDER>

 

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

 

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

 

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 3 of the License, or any later version.

 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

 

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

BSD licenses

Permissive

 

Origin

 

The original BSD Unix license was first written in 1969 and was used for its namesake, the Berkeley Software Distribution (BSD), a Unix-like operating system. The original version has since been revised, and its descendants are referred to as modified BSD licenses. 

 

BSD is both a license and a class of license (generally referred to as BSD-like). The modified BSD license (in wide use today) is very similar to the license originally used for the BSD version of Unix. The BSD license is a simple license that merely requires that all code retain the BSD license notice if redistributed in source code format, or reproduce the notice if redistributed in binary format. The BSD license (unlike some other licenses e.g. GPL) does not require that source code be distributed at all..

 

 

Prior to 1999, the BSD License contained the following provision:

 

 

All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Lawrence Berkeley Laboratory.

 

 

This provision seems relatively innocuous. It seems both reasonable and natural that the creator, having surrendered the exclusive right to commercially exploit a work, should receive credit not only in the acknowledgment of rights but in the advertising as well. It does not challenge the essential premises of open source, as it does not limit the scope of the use of the software in any direct way. Nonetheless, the pre-1999 BSD License sometimes causes problems because of this clause. The principles of open source endorse the commercial exploitation of software, including the sale of software, manuals, and support for profit. Such commercial exploitation very well may include advertising and when an open source project draws from a number of predecessors, the requirement of including such references can become a real burden. The BSD License, however, was amended in 1999 and this clause was removed. 

 

 

Terms

The BSD UNIX license states one may copy, modify and redistribute the code so long as one retains a copy of the original copyright statement.

 

The copyright statements must include a clear statement of restrictions for use of the distributed software.

 

 

A disclaimer for limitations of liability that include not claiming authorship of the code where the code was not written by the user and not suing the author of the program for unexpected or undesirable functionality.

 

 

The stipulation that one doesn’t use the name of the software or its authors to advertise or promote work derived from modification of the distributed code without prior written consent.

 

 

 

Similarly, other BSD licenses can have these clauses but may not include them all. As a base, the first two clauses are a part of any BSD license. There are two, three and four clause BSD licenses.

 

the only substantial difference between this license and the MIT License is the non-attribution provision in the last clause. This provision requires prior permission for use of the name of the creator, and it protects the reputation of the creator from being explicitly associated with derivative versions of the program. Such restrictions permit creators to protect themselves from the injury to their reputations that can result from association with a defective or poorly written program, while still allowing others to use or modify a work.

 

How to Use

To use the BSD license, developers need to copy the text as provided and include in source files as applicable. 

 

Commercial Use

This licenses allow commercial use. Users do not have to provide any other source code when releasing new software. 

 

3-Clause BSD License

Copyright <YEAR> <COPYRIGHT HOLDER>


Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:


1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.


2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.


3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.


THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

GNU Affero General Public License (AGPL).

Origin

 

 

Terms

 

How to Use

To use the MIT license, developers need to copy the text as provided and include in source files as applicable. I

 

Commercial Use

+++ licenses allow commercial use. Users do not have to provide any other source code when releasing new software. Including the attributions and original license in the reused code will suffice.

In 1988, Richard Stallman wrote his General Public License (GPL) aimed at enshrining the rights of creators to keep their software open source at all times. GPL is currently in its third version (GPLv3) due to issues with the previous text that created some loopholes. 

 

As part of GPLv3, the Free Software Foundation (FSF) provided two additional types of licenses, namely the Lesser General Public License (LGPLv3) and the Affero General Public License (AGPLv3). The AGPL version of the General Public License aims to enforce full copyleft rights on all software that use it. 

 

In the standard GPL license, the reciprocity clause comes into effect whenever a developer releases software. The copyleft principle intends to make all of the source code available to the wider open source community. With AGPL, software teams can ensure all changes to the codebase becomes available to the public, even on server-side applications. 

 

Determining whether the AGPL 3.0, LGPL 3.0, or standard GPL 3.0 will suit the team best depends on the final intent of the software. Copyleft licenses are ideal for developers that want to ensure all subsequent changes become available to the community, while permissible licenses like the MIT license gives them more freedom to make modifications proprietary in the future. 

 

Some of the advantages of the AGPL include:

 

  • Forces teams to consider their licensing philosophy early in the project and live with their decision. 

  • Ensures that any code snippet developed by the open source community stays available and prevents others from repackaging and selling open-source software. 

 

The disadvantages of the AGPL are:

 

  • Puts some teams off open-source packages as it forces all other code to become GPLed software.

  • Some view it as excessive as any module in any dependent package that uses AGPL makes all other software subject to similar restrictions. 

  • Removes the choice for teams to make software proprietary in the future. 

 

Although anyone can use the AGPL V3 license, it’s not popular with organizations. The restrictions placed on any subsequent versions of AGPL software make it difficult to adopt when there are competing commercial interests.

 

The AGPL V3 license is a strong copyleft license that enforces open source on all components derived from any previous work. It closes the server-side loophole, where the source code isn’t made available if the software isn’t released. AGPL defines a user as anyone who accesses the server-side application if it is public-facing. For applications that reside inside the organization’s network, AGPL does not trigger the release of the source code.

 

Is AGPLv3 license compatible with GPLv3?

Users who combine work under the GPLv3 license with AGPL software can retain the rights of the GPLv3 license on the unmodified work. Any modified versions of the GPLv3 work will have to use the AGPLv3 license.

 

AGPL due to its radical open source licensing is currently only used in less than 1% of open source projects. 

 

Establish effective license compliance management with Snyk

For teams that need to maintain effective control over their license compliance, Snyk can help. Our developer-first license management tool gives users a clear view of packages and dependencies in their codebase. By helping developers understand and manage license compliance, this tool helps prevent the project from r

Links

MIT License

GNU Licenses

Apache License

BSD Licenses

Eclipse Public License

Boost Software License

Mozilla Public License

Creative Commons Zero Universal License

The Unlicense

 
Skip to content