几个开源协议区别

协议内容太晦涩,简单描述(按照宽松程度排序):

  1. GPL(GNU General Public License):比较严格的开源协议,如果你们使用了GPL协议代码,则你也要开源(Linux使用了GPL),这个协议不太受欢迎(开源传染,商业公司要注意)
  2. Ms-PL(The Microsoft Public License):微软为释出开源项目而编写和发布的自由开源软件许可证。如果你打算开源,则也要遵循Ms-PL,如果你不开源,则无所谓(挺好) (更多说明参考该连接)
  3. MPL (Mozilla Public License 1.1): MPL协议允许免费重发布、免费修改,但要求修改后的代码版权归软件的发起者。所以,一般个人或公司可以放心使用该协议
  4. Apache 2.0版:Apache许可证是宽松型许可证,商业软件最爱,主要条件是要求保留原始版权和许可声明,同时原始开发者/贡献者向使用者明确授予专利权。使用者可以自由修改,进行商业使用,大型项目可以不同的条款分发,没有开源要求,修改源代码需要记录变更。
  5. BSD(Berkeley Software Distribution):很宽松,放心用,但是记得开源作者的好(保留人家版权信息)
  6. MIT(Massachusetts Institute of Technology)很宽松,放心用,想白嫖,就用MIT协议代码。典型项目有:jquery、Node.js

 

 

扩展:

关于GPL,如果通过命令行调用,则无需受到开源协议影响:

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

 

参考:

https://www.runoob.com/w3cnote/open-source-license.html

 

posted @ 2022-01-10 22:19  bad_programmer  阅读(525)  评论(0编辑  收藏  举报