[Post] Common Open Source protocols

Source: Internet
Author: User
[Post] common open-source protocols-general Linux technology-Linux technology and application information. For details, refer to the following section. [I = s] This post was last edited by smqt

BSD open source protocol (original BSD license, FreeBSD license, Original BSD license)

BSD open source protocol is a protocol that gives users great freedom. Basically, users can "do whatever they want", use them freely, modify the source code, or release the modified Code as open source or proprietary software.

However, when you publish code using the BSD Protocol or develop your own product based on the BSD Protocol code, you must meet the following three conditions:

1. If the released product contains the source code, the BSD Protocol in the original code must be included in the source code.
2. If you only release binary class libraries/software, you must include the BSD Protocol in the original code in the Library/software documentation and copyright statement.
3. Open-source author/organization name and original product name cannot be used for marketing.

BSD Code encourages code sharing, but it must respect the copyright of the Code author. BSD is a friendly protocol for business integration because it allows users to modify and re-release code, and also allows users to use or develop commercial software release and sales on BSD code. Many companies prefer the BSD Protocol when selecting open-source products, because they have full control over these third-party code and can modify or perform secondary development as necessary.



Apache License 2.0 (Apache License, Version 2.0, Apache License, Version 1.1, Apache License, Version 1.0)

Apache Licence is a well-known non-profit open-source Apache protocol. Similar to BSD, this Protocol also encourages code sharing and respect for the copyright of the original author. It also allows code modification and re-release (as an open source or commercial software ). The conditions to be met are similar to those of BSD:

1. A copy of Apache Licence is required for the code user.
2. If you have modified the code, you need to modify it in the file.
3. In the extended code (Modification and code derived from source code), the Protocol, trademark, patent statement in the original code and other instructions required by the original author shall be included.
4. If the product to be released contains a Notice file, Apache Licence must be included in the Notice file. You can add your own license to Notice, but it cannot be expressed as a change to Apache Licence.

Apache Licence is also a friendly license for commercial applications. Users can also modify the code as needed to meet their needs and release/sell as open-source or commercial products.



GPL (GNU General Public License)

We are familiar with the use of GPL in Linux. The GPL protocol and BSD, Apache Licence, and other licenses that encourage code reuse are very different. The starting point of GPL is the open-source/free use of code and the open-source/free use of reference/modification/derivative code, however, modification and derivative Code cannot be released and sold as commercial software with closed source. That's why we can use a variety of free linux, including commercial companies' linux and linux various free software developed by individuals, organizations, and commercial software companies.

The main content of the GPL protocol is as long as it is used in a software ("use" refers to the class library reference, modified code or derivative code, the software must also adopt the GPL protocol, which is both open-source and free. This is the so-called "contagious ". The GPL protocol product can be used as a separate product without any problems. You can also enjoy the free advantage.

Because GPL strictly requires that software products that use the GPL class library use the GPL protocol, for open source code that uses the GPL protocol, commercial software or departments that require code confidentiality are not suitable for integration/adoption as the basis for class libraries and secondary development.

Other details, such as the GPL Protocol, must be similar to BSD/Apache.



LGPL (GNU Lesser General Public License)

LGPL is an open-source protocol designed mainly for class libraries. Unlike GPL, any software that uses/Modifies/derives the GPL class library must use the GPL protocol. LGPL allows commercial software to use the LGPL class library through class library reference (link) without the need for open source commercial software code. This allows open source code using the LGPL protocol to be referenced by commercial software as class libraries for concurrent release and sales.

However, if you modify or derive the LGPL protocol code, all the modified Code, the additional code involved in the modification part, and the derived code must adopt the LGPL protocol. Therefore, the open source code of the LGPL protocol is suitable for being referenced by commercial software as a third-party class library, but it is not suitable for the LGPL protocol code, secondary Development of commercial software is implemented through modification and derivative methods.

GPL and LGPL both protect the intellectual property rights of the original author and prevent people from copying and developing similar products using open-source code.



MIT (MIT)

MIT is the same as BSD's wide-range license agreement. The author only wants to retain the copyright without any other restrictions. that is to say, you must include the original license agreement statement in your release, whether published in binary or source code.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.