# 自由及开源软件

**自由及开源软件**（FOSS，亦称FLOSS，即“自由、宽松与开源软件”）是在保证用户有权运行、研究、修改和再分发的许可证下发布的软件。这一术语融合了两个运动，它们在实践中结果相同：“自由软件”，由[自由软件基金会](https://www.edgepedia.org/zh/free-software-foundation)通过四项基本自由来定义；“开源”，由开放源代码促进会通过十项标准的[开源定义](https://www.edgepedia.org/zh/open-source-definition)来定义。两种定义在实践中导向同一结果，尽管其哲学基础不同。<sup>[1](https://opensource.org/faq)</sup>

| 关键事实 | 详情 |
|---|---|
| 四项基本自由 | 为任何目的运行程序（自由0）；研究并修改程序（自由1）；再分发副本（自由2）；分发修改版本（自由3）。获取源代码是自由1和自由3的前提条件。<sup>[2](https://www.gnu.org/philosophy/free-sw.en.html)</sup> |
| 开源定义 | 十项标准，涵盖自由再分发、源代码可得性、演绎作品、不歧视个人或领域以及许可证中立；源自Debian自由软件指导原则。<sup>[3](https://opensource.org/osd)</sup><sup> • </sup><sup>[4](https://www.debian.org/social_contract.en.html)</sup> |
| “开源”一词的由来 | 由克里斯蒂娜·彼得森（Christine Peterson）提出，由开放源代码促进会的创始人在1998年2月3日于帕洛阿尔托（Palo Alto）举行的一次战略会议上采用，时值网景（Netscape）发布其浏览器源代码后不久。<sup>[1](https://opensource.org/faq)</sup><sup> • </sup><sup>[5](https://opensource.org/about/history-of-the-open-source-initiative)</sup> |
| 经济规模 | 2018年欧盟企业对开源软件的投资约为10亿欧元，对欧洲经济产生的影响估计在650亿至950亿欧元之间，成本效益比高于1:4。<sup>[6](https://op.europa.eu/it/publication-detail/-/publication/29effe73-2c2c-11ec-bd8e-01aa75ed71a1)</sup> |
| 企业采用率 | 操作系统在企业中的采用率最高，为55%；云与容器技术为49%；Web与应用开发为46%；83%的组织认为开源对其未来有价值。<sup>[7](https://ubuntu.com/engage/world-of-open-source-global-2025)</sup> |
| 商业使用 | 自由软件必须可用于商业使用、开发和分发；排除这些用途的程序不符合自由软件的条件。<sup>[2](https://www.gnu.org/philosophy/free-sw.en.html)</sup> |
| AI扩展 | 开放源代码促进会于2024年10月28日发布开源AI定义（OSAID）1.0版，要求披露训练数据信息、源代码和模型参数。<sup>[8](https://opensource.org/blog/the-open-source-initiative-announces-the-release-of-the-industrys-first-open-source-ai-definition)</sup> |

## 定义

自由软件基金会（FSF）成立于1985年，将自由软件定义为尊重用户自由与社区的软件。如果用户拥有四项基本自由，该程序即为自由软件，而且只要用户未做出丧失这些自由的行为，这些自由就必须不可撤销。“Free”指自由，而非价格：用户可能已为副本付费，但他们仍然可以自由复制、修改，甚至出售该软件。<sup>[2](https://www.gnu.org/philosophy/free-sw.en.html)</sup><sup> • </sup><sup>[9](https://www.gnu.msn.by/philosophy/free-sw.html)</sup>

开放源代码促进会（OSI）成立于1998年，维护开源定义。该定义指出，开源不仅仅是获取源代码：分发条款必须符合十项标准。这些标准包括自由再分发、以不超过合理复制成本的代价提供源代码、允许修改和演绎作品、不歧视个人、群体或领域，以及不限制与之一起分发的其他软件。<sup>[3](https://opensource.org/osd)</sup> OSI运行正式的许可证审批流程，并发布获批许可证的权威列表，政府和标准机构会参考该列表。<sup>[5](https://opensource.org/about/history-of-the-open-source-initiative)</sup>

**著佐权。** [著佐权](https://www.edgepedia.org/zh/copyleft)许可证允许演绎作品，但要求其沿用与原作相同的许可证。[GNU通用公共许可证](https://www.edgepedia.org/zh/gnu-general-public-license)（GPL）是使用最广泛的例子：如果分发了修改后的软件，修改版本——包括为其编写的新代码——也必须以GPL许可。非著佐权的开源许可证，如BSD许可证，允许在其他许可证（包括专有许可证）下分发的程序中复用。两类许可证都符合自由软件和开源的定义。<sup>[1](https://opensource.org/faq)</sup><sup> • </sup><sup>[10](https://www.gnu.org/doc/fsfs-ii-2.pdf)</sup>

## 历史

GNU计划始于[理查德·斯托曼](https://www.edgepedia.org/zh/richard-stallman)（Richard Stallman）1983年9月27日发布的一则公告，提议开发一套完整的Unix兼容系统，名为GNU（“GNU's Not Unix”的递归首字母缩写），免费赠予所有能使用它的人。斯托曼于1984年1月辞去麻省理工学院（MIT）的工作，开始编写GNU软件，从实用工具和编译器入手，而非内核。<sup>[11](https://www.gnu.org/gnu/initial-announcement.html)</sup><sup> • </sup><sup>[12](https://www.gnu.org/gnu/the-gnu-project.en.html)</sup>

1991年，当时还是芬兰（Finland）计算机科学学生的[林纳斯·托瓦兹](https://www.edgepedia.org/zh/linus-torvalds)（Linus Torvalds）在comp.os.minix新闻组上公布了一款他称为Linux的Unix兼容内核，称其“只是业余爱好”，不会像GNU那样庞大而专业。该内核起初是专有软件；1992年，托瓦兹将其改为自由软件，将Linux与尚未完成的GNU系统结合，便产生了一套完整的自由操作系统。<sup>[12](https://www.gnu.org/gnu/the-gnu-project.en.html)</sup><sup> • </sup><sup>[13](https://www.tomshardware.com/software/linux/linux-is-34-years-old-today-linus-torvalds-meekly-announced-this-free-new-os-in-the-comp-os-minix-newsgroup-on-this-day-in-1991)</sup>

“开源”标签是在1998年2月3日帕洛阿尔托的一次战略会议上产生的，时值网景宣布发布其浏览器源代码后不久。与会者希望有一个统一的标签，既能标识这种协作开发方式，又能区别于侧重理念的“自由软件”一词；克里斯蒂娜·彼得森提出了这个最终胜出的名称。埃里克·雷蒙德（Eric Raymond）和布鲁斯·佩伦斯（Bruce Perens）于1998年2月下旬共同创立OSI。佩伦斯曾起草Debian自由软件指导原则（DFSG），该原则于1997年获批为Debian项目政策；他删去其中Debian特有的表述，由此创建了开源定义。截至1999年10月，OSI已发布第一份正式的获批许可证列表，并于2004年为该定义增补第十条，以处理点击式许可问题。<sup>[5](https://opensource.org/about/history-of-the-open-source-initiative)</sup><sup> • </sup><sup>[4](https://www.debian.org/social_contract.en.html)</sup>

## 采用情况与经济影响

[开源](https://www.edgepedia.org/zh/open-source)已从节省成本的工具变成企业技术栈的核心。在Linux基金会2025年《世界开源调查》对851个组织的调查中，操作系统的采用率为55%，云与容器技术为49%，Web开发、数据库和DevOps介于43%至46%之间。83%的受访者认为开源对其组织的未来有价值，86%表示开源提高了生产力，46%表示与2024年相比开源带来的商业价值有所增加。<sup>[7](https://ubuntu.com/engage/world-of-open-source-global-2025)</sup>

欧盟委员会对开源软件和硬件的研究估计，2018年欧盟企业对OSS的投资约为10亿欧元，经济影响在650亿至950亿欧元之间，成本效益比高于1:4。该研究还预测，OSS贡献增加10%每年将额外带来0.4%至0.6%的GDP，并在欧盟新增600多家ICT初创企业。<sup>[6](https://op.europa.eu/it/publication-detail/-/publication/29effe73-2c2c-11ec-bd8e-01aa75ed71a1)</sup>

**区域驱动因素。** Perforce的2026年《开源状况报告》发现，欧盟和英国63%的组织将对供应商锁定的担忧列为选择开源的主要动机，而美国受访者为51%，这一差异被归因于欧洲加强数字自主和数据主权的努力。大西洋两岸成本都是因素，61.84%的受访者将无需许可费用和节省开支列为主要驱动因素。<sup>[14](https://www.itpro.com/software/open-source/open-source-is-booming-in-europe-as-enterprises-look-to-strengthen-digital-autonomy)</sup>

## 安全与可持续性

FOSS的成功使其既是基础设施，也成为攻击面。Linux基金会与哈佛大学创新科学实验室于2024年12月发布的《普查III》研究，基于对一万多家公司生产应用中FOSS库的逾1200万次观测，识别出使用最广泛的自由及开源软件包。其发现包括：使用最广泛的FOSS中，很大一部分仅由少数贡献者开发；个人开发者账户安全日益重要；遗留软件在生态系统中持续存在。<sup>[15](https://openssf.org/press-release/2024/12/04/open-source-usage-trends-and-security-challenges-revealed-in-new-study/)</sup>

PyPI、Maven Central、crates.io、RubyGems、npm和NuGet等公共包注册表现在每年服务数万亿次下载，下载量以每年30%至50%的速度增长，而许多注册表仍依赖捐赠的基础设施使用额度和两三个人的团队。2025年，GitHub、Google、IBM、Microsoft和Sonatype等组织签署承诺，支持为这些注册表提供可持续资金。<sup>[16](https://www.itpro.com/software/open-source/firms-pledge-increased-financial-support-for-public-package-registries)</sup> Linux基金会旗下的开源安全基金会（OpenSSF）于2025年推出开源项目安全基线，帮助项目评估和展示安全准备情况，并推进了SLSA、Sigstore以及主要注册表可信发布方面的供应链工作。<sup>[17](https://openssf.org/blog/2025/12/11/openssf-2025-annual-report-is-live-a-year-of-global-growth-security-wins-and-community-momentum/)</sup>

**AI生成报告。** 自动化工具带来了新的负担。Linux内核安全邮件列表两年前每周大约收到两到三份漏洞报告，到2025年每天收到五到十份，林纳斯·托瓦兹称，大量重复的AI生成报告使该列表几乎完全无法管理。<sup>[18](https://www.tomshardware.com/software/linux/linus-torvalds-says-ai-bug-reports-have-made-the-linux-security-mailing-list-almost-entirely-unmanageable)</sup> 作为回应，OpenAI、Anthropic、AWS、Google、Microsoft和GitHub等公司向Alpha-Omega和OpenSSF承诺投入1250万美元，为开源社区开发可持续的安全解决方案。<sup>[19](https://www.itpro.com/software/open-source/big-tech-is-clamping-down-on-open-source-ai-slop-reports)</sup>

## 许可证张力与开源AI

“开源”一词面临来自商业和意识形态两个方向的压力。源码可见许可证被设计得像开源许可证，但因歧视至少一类用户而不符合开源定义；这类许可证随着基于流行开源项目建立的初创公司而增多；律师希瑟·米克（Heather Meeker）的同事丰塔纳（Fontana）以HashiCorp从Mozilla公共许可证转向商业源代码许可证为例。一个平行的“伦理源代码”运动认为，开源的规范性定义有缺陷，因为自由对所有人开放，包括社区不喜欢的用户；OSI的立场是许可证不得歧视个人或群体。<sup>[20](https://lwn.net/Articles/1060392/)</sup><sup> • </sup><sup>[1](https://opensource.org/faq)</sup>

[人工智能](https://www.edgepedia.org/zh/artificial-intelligence)将这场辩论扩展到软件之外。OSI经过为期一年的全球协同设计过程，于2024年10月28日发布开源AI定义（OSAID）1.0版。它要求系统提供关于训练数据的足够详细信息、用于训练和运行该系统的完整源代码以及模型参数，以便熟练人员能够构建出实质上等效的系统。Meta对该定义提出异议，因为其[Llama](https://www.edgepedia.org/zh/llama-model-family)模型可免费获取，但未完全披露训练数据细节。<sup>[8](https://opensource.org/blog/the-open-source-initiative-announces-the-release-of-the-industrys-first-open-source-ai-definition)</sup><sup> • </sup><sup>[21](https://www.axios.com/2024/10/29/meta-osi-definition-open-source-ai-llama)</sup> 开源定义本身在2025年迎来27周年，OSI已将AI系统、网络安全法和采购政策列为当前考验开源能否继续作为全球公域存在的领域。<sup>[22](https://opensource.org/2025-annual-report)</sup>

## References

1. [Frequently Answered Questions, Open Source Initiative](https://opensource.org/faq)
2. [What is Free Software?, GNU Project, Free Software Foundation](https://www.gnu.org/philosophy/free-sw.en.html)
3. [The Open Source Definition, Open Source Initiative](https://opensource.org/osd)
4. [Debian Social Contract, Debian Project](https://www.debian.org/social_contract.en.html)
5. [History of the Open Source Initiative, Open Source Initiative](https://opensource.org/about/history-of-the-open-source-initiative)
6. [The impact of open source software and hardware on technological independence, competitiveness and innovation in the EU economy, Publications Office of the EU](https://op.europa.eu/it/publication-detail/-/publication/29effe73-2c2c-11ec-bd8e-01aa75ed71a1)
7. [The state of global open source 2025, Ubuntu / Linux Foundation](https://ubuntu.com/engage/world-of-open-source-global-2025)
8. [The Open Source Initiative Announces the Release of the Industry's First Open Source AI Definition](https://opensource.org/blog/the-open-source-initiative-announces-the-release-of-the-industrys-first-open-source-ai-definition)
9. [The Free Software Definition, GNU Project](https://www.gnu.msn.by/philosophy/free-sw.html)
10. [Free Software, Free Society, 2nd ed., GNU Press](https://www.gnu.org/doc/fsfs-ii-2.pdf)
11. [Initial Announcement, GNU Project](https://www.gnu.org/gnu/initial-announcement.html)
12. [About the GNU Project, GNU Project](https://www.gnu.org/gnu/the-gnu-project.en.html)
13. [Linux is 34 years old today, Tom's Hardware](https://www.tomshardware.com/software/linux/linux-is-34-years-old-today-linus-torvalds-meekly-announced-this-free-new-os-in-the-comp-os-minix-newsgroup-on-this-day-in-1991)
14. [Open source is booming in Europe as enterprises look to strengthen digital autonomy, IT Pro](https://www.itpro.com/software/open-source/open-source-is-booming-in-europe-as-enterprises-look-to-strengthen-digital-autonomy)
15. [Open Source Usage Trends and Security Challenges Revealed in New Study, OpenSSF](https://openssf.org/press-release/2024/12/04/open-source-usage-trends-and-security-challenges-revealed-in-new-study/)
16. [Firms pledge increased financial support for public package registries, IT Pro](https://www.itpro.com/software/open-source/firms-pledge-increased-financial-support-for-public-package-registries)
17. [OpenSSF 2025 Annual Report Is Live, OpenSSF](https://openssf.org/blog/2025/12/11/openssf-2025-annual-report-is-live-a-year-of-global-growth-security-wins-and-community-momentum/)
18. [Linus Torvalds says flood of duplicate AI-generated vulnerability reports have made Linux security mailing list 'almost entirely unmanageable', Tom's Hardware](https://www.tomshardware.com/software/linux/linus-torvalds-says-ai-bug-reports-have-made-the-linux-security-mailing-list-almost-entirely-unmanageable)
19. [Big tech is clamping down on open source 'AI slop' reports, IT Pro](https://www.itpro.com/software/open-source/big-tech-is-clamping-down-on-open-source-ai-slop-reports)
20. [LWN.net Weekly Edition for March 5, 2026](https://lwn.net/Articles/1060392/)
21. [Meta, OSI tussle over definition of open source AI, Axios](https://www.axios.com/2024/10/29/meta-osi-definition-open-source-ai-llama)
22. [2025 Annual Report, Open Source Initiative](https://opensource.org/2025-annual-report)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › 自由与开源软件

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/free-and-open-source-software

English original: https://www.edgepedia.org/free-and-open-source-software
