当前位置:   article > 正文

【释义详解】Software License (软件许可证)是什么?_软件license什么意思

软件license什么意思

前言

创作开始时间:2021年6月25日16:41:39

本文旨在详细解释下Software License 软件许可证的含义。

1、Software License的定义

参考百科。

A software license is a legal instrument (usually by way of contract law, with or without printed material) governing the use or redistribution of software.

Software License:软件许可证。是一个法律文书(通常通过合同法,有打印或电子版的材料),用于管理软件的使用和重新分发。

all software is copyright protected, in both source code and object code forms

所有的软件都是有版权(copyright)保护的,在源码和目标码形式上。

Copyright:

if a person or an organization holds the copyright on a piece of writing, music, etc., they are the only people who have the legal right to publish, broadcast, perform it etc., and other people must ask their permission to use it or any part of it

2、Open Source Licenses 定义

参考:https://opensource.org/licenses

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.

3、怎么选择开源许可证?(我们在开发软件的时候会用到)

参考:https://choosealicense.com/

根据里面的提示,选择对应的就好了,
以我个人为例,
我选的是:
在这里插入图片描述

这两种,我觉得这两种都还可以(MIT License和GNU GPLv)。后者貌似更加保守一点。

二者具体信息如下:

在这里插入图片描述

在这里插入图片描述

相比较之下,我更喜欢后者,因为GNU GPLv3 (https://choosealicense.com/licenses/gpl-3.0/#) 不允许闭源传播。这个听起来还不错。

4、QA:自己的仓库用license的时候怎么在readme里面声明呢?

找了几个例子:

  • This package is licensed under the MIT license. See LICENSE for details.
  • Except as otherwise noted, the Facebook SDK for Android is licensed under the Facebook Platform License (https://github.com/facebook/facebook-android-sdk/blob/master/LICENSE.txt).
  • All software provided in this repository is subject to the CRAPL license.
    The detectors included in MuBench are subject to the licensing of their respective creators. See the information in the detectors’ folders.
    The projects referenced in the MuBench dataset are subject to their respective licenses.
    The project artwork is subject to the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).

5、在maven项目里面怎么声明license?

2021年7月29日22:30:24

参考:https://maven.apache.org/pom.html#Properties

  <licenses>
     <license>
       <name>GNU General Public License v3.0 only</name>
       <url>https://www.gnu.org/licenses/gpl-3.0-standalone.html</url>
       <distribution>repo</distribution>
     </license>
  </licenses>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

然后可以在项目内新建一个文件license。复制粘贴 https://choosealicense.com/licenses/gpl-3.0/# 这里面的内容就好。

更多license可以参考:https://spdx.org/licenses/

小结

终于搞明白许可了。其实本质就是软件的使用和分发的协议、规定。

创作结束时间:2021年6月25日17:42:31
更新:2021年6月26日23:42:18

参考文献

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/663790
推荐阅读
相关标签
  

闽ICP备14008679号