# Linux发行版

Linux发行版是一套完整的操作系统，由Linux内核、编译器工具链与C库、系统服务以及终端用户应用程序组装而成，并与包管理器一同打包发布，由包管理器负责安装和更新各个软件包<sup>[1](https://export.arxiv.org/pdf/2607.24888)</sup>。发行版是围绕内核精心挑选的一组软件集合。在基于源码的构建流程中，软件包配方规定上游源码与构建步骤，构建过程可以从一小批预先存在的二进制文件开始，这批文件称为引导种子（bootstrap seed）<sup>[1](https://export.arxiv.org/pdf/2607.24888)</sup>。

| 关键事实 | 详情 |
|---|---|
| 发行版由什么构成 | 内核、软件包集合、安装程序和包管理器，由维护者的选择组装而成；软件本身没有任何东西决定一个分支是否算新发行版<sup>[2](https://dev.to/max_ilands/nobody-can-tell-you-how-many-linux-distributions-exist-99)</sup> |
| 有多少个 | DistroWatch列出501个活跃发行版（若计入BSD、Hurd和Solaris系统则为527个）；其完整数据库收录1,202个Linux发行版，其中686个已停止维护<sup>[2](https://dev.to/max_ilands/nobody-can-tell-you-how-many-linux-distributions-exist-99)</sup> |
| 软件包数量（2024年11月） | Fedora 41：24,725个；Debian 12.7：34,467个；Ubuntu 24.04：37,383个；openEuler 24.03：6,155个<sup>[3](https://dl.acm.org/doi/10.1145/3744916.3787836)</sup> |
| 企业版生命周期 | RHEL：每个版本十年生命周期，RHEL 10支持至2035年5月31日，延长生命周期至2039年<sup>[4](https://access.redhat.com/product-life-cycles)</sup>；Debian：三年完整支持加两年LTS<sup>[5](https://www.debian.org/releases/)</sup>；Ubuntu LTS：五年维护加扩展安全维护<sup>[6](https://lists.ubuntu.com/archives/ubuntu-announce/2026-April/000323.html)</sup> |
| 发布节奏 | Fedora每六个月一版，更新约13个月<sup>[7](https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/)</sup>；openSUSE Leap每九个月一版；Arch没有固定时间表<sup>[8](https://fedoraproject.org/wiki/Comparison_to_other_distributions)</sup><sup> • </sup><sup>[9](https://wiki.archlinux.org/title/Arch_compared_to_other_distributions)</sup> |
| 仍在维护的最老发行版 | Slackware，1993年7月16日首次发布，源自SLS<sup>[10](https://www.linuxjournal.com/index%2Ephp/article/10724)</sup> |
| 2023年后的转变 | RHEL重建版（AlmaLinux、Rocky Linux）在2023年源码政策变化后继续发布；镜像模式与不可变发行版通过OStree和bootc扩散<sup>[11](https://www.theregister.com/software/2026/04/29/fedora-44-is-out-countless-versions-of-it/5224584)</sup> |

## 发行版是什么

有三个要素将发行版与“内核加任意软件”区分开来。第一是筛选：维护者挑选、打补丁并集成软件包，使它们能够一起构建和运行。第二是打包：发行版使用包格式和依赖元数据，例如Debian的deb配合dpkg与apt，Fedora的RPM配合dnf，Alpine的APK，以及Arch的pacman<sup>[8](https://fedoraproject.org/wiki/Comparison_to_other_distributions)</sup>。第三，一些基于源码的构建流程采用从一小批预先存在的二进制文件（即引导种子）进行自举的做法；在这类流程中，编译器工具链的完整性关乎整个系统<sup>[1](https://export.arxiv.org/pdf/2607.24888)</sup>。

治理方式与默认配置补全了这幅图景。例如RHEL 9将内容拆分为BaseOS仓库和AppStream仓库，前者存放核心操作系统，后者以“应用流”（Application Streams）的形式提供用户空间组件，其更新频率高于核心软件包<sup>[12](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.7_release_notes/distribution)</sup>。正如一篇评论所说，发行版就是内核、加软件包集合、加安装程序，靠某个人的选择粘在一起；某个目录的计数反映的是它的收录规则，而不是一个天然的数量<sup>[2](https://dev.to/max_ilands/nobody-can-tell-you-how-many-linux-distributions-exist-99)</sup>。

## 历史与谱系

第一个被广泛使用的发行版是SLS Linux，由Soft Landing Systems组装，可从软盘安装，包含TCP/IP网络和X窗口系统。它宣布将默认可执行文件格式从a.out改为ELF，招致非常负面的反应，SLS的主导地位随之崩塌<sup>[10](https://www.linuxjournal.com/index%2Ephp/article/10724)</sup><sup> • </sup><sup>[13](https://lwn.net/Articles/91371/)</sup>。

1993年的两个项目至今仍界定着谱系。Patrick Volkerding拿来SLS，加以改编和清理，于1993年7月16日发布[Slackware](https://www.edgepedia.org/zh/slackware)，以几个月的优势成为当前仍在维护的最老发行版<sup>[10](https://www.linuxjournal.com/index%2Ephp/article/10724)</sup>。[Ian Murdock](https://www.edgepedia.org/zh/ian-murdock)当时是[普渡大学](https://www.edgepedia.org/zh/purdue-university)（Purdue University）的本科生，出于对SLS的不满，于1993年8月开始开发Debian，在comp.os.linux.development上宣布它“基本上是从零开始”构建的；自由软件基金会（Free Software Foundation）的GNU计划资助了Debian一年，从1994年11月到1995年11月<sup>[14](https://www.debian.org/doc/manuals/project-history/detailed.en.html)</sup><sup> • </sup><sup>[10](https://www.linuxjournal.com/index%2Ephp/article/10724)</sup>。Debian最早的打包工具dpkg由Murdock编写，创造了Debian专用的二进制包格式，Ian Jackson后来开发了dpkg-deb以及一个提供依赖与冲突处理功能的前端，这就是现代依赖解析的起源<sup>[14](https://www.debian.org/doc/manuals/project-history/detailed.en.html)</sup>。

商业产品线从[Red Hat](https://www.edgepedia.org/zh/red-hat)和SuSE生长出来。SuSE构建了YaST安装与配置工具，后来引入了Red Hat的RPM打包系统；Red Hat停止支持其免费操作系统版本，转而专注[Red Hat Enterprise Linux](https://www.edgepedia.org/zh/red-hat-enterprise-linux)，由Fedora项目维护社区发行版；Novell收购SuSE后，[openSUSE](https://www.edgepedia.org/zh/opensuse)作为其免费版本出现<sup>[10](https://www.linuxjournal.com/index%2Ephp/article/10724)</sup>。由于Red Hat对RHEL的稳定性收费，存在免费的第三方重建版，The Register的FOSS专栏称之为“RHEL亲戚”（RHELatives）：Rocky Linux、AlmaLinux和Oracle Linux<sup>[11](https://www.theregister.com/software/2026/04/29/fedora-44-is-out-countless-versions-of-it/5224584)</sup>。

## 打包、依赖解析与发布模式

包管理器利用已配置仓库中可用软件包的依赖元数据来解析所请求的安装，尽可能寻找满足相关约束的版本。两大主流工具链在包结构、补丁管理和工具链上差异很大，这为两者之间的补丁迁移制造了技术障碍<sup>[3](https://dl.acm.org/doi/10.1145/3744916.3787836)</sup>。一项2024至2026年对Fedora 41、openEuler 24.03、Debian 12.7和Ubuntu 24.04的实证研究发现，Debian与Ubuntu共享的同源软件包数量最多，分别占各自软件包集合的96.6%和89.1%，反映了两者的衍生关系，但跨家族的差异很大：所分析的Fedora-Debian软件包中有50.29%、Fedora-openEuler软件包中有85.34%的补丁集存在差异，共享补丁跨家族传播缓慢，Fedora-Debian的中位引入延迟为530.0天，Fedora-openEuler为169.0天<sup>[3](https://dl.acm.org/doi/10.1145/3744916.3787836)</sup>。

**解析有已知的局限。** 对模块化包管理的研究发现，当考虑一个以上仓库基线时，传统包管理器在超过50%的情况下找不到可安装的解决方案，且随着基线增多，命中率下降；当约束冲突时，求解器可能干脆报告失败，而不是提出折中方案<sup>[15](https://upsilon.cc/~zack/research/publications/cbse2011-mpm.pdf)</sup>。一种基于超图的编码HyperRes已实现，带有来自APK、Cabal、Cargo、CentOS、Debian、Fedora、Homebrew、opam、OpenSUSE和Pacman元数据的转换，将解析视为跨生态系统的统一约束问题<sup>[16](https://arxiv.org/html/2506.10803)</sup>。

**发布模式。** 包管理器通常将软件包集中在一个仓库中，或者作为持续变化的滚动发布，或者作为定期版本化的快照<sup>[16](https://arxiv.org/html/2506.10803)</sup>。Arch没有固定发布计划，其软件包比Debian Stable新得多，与Debian Unstable相当；Debian的Stable分支冻结并支持最多五年，Debian可用于多种架构，而Arch仅支持x86_64<sup>[9](https://wiki.archlinux.org/title/Arch_compared_to_other_distributions)</sup>。Fedora是定点发布发行版，而滚动发布以新鲜度换取可能更窄的测试窗口<sup>[11](https://www.theregister.com/software/2026/04/29/fedora-44-is-out-countless-versions-of-it/5224584)</sup>。

## 主要发行版及其定位

**Debian**是一个社区项目，采用基于时间的发布流程：2009年7月29日，该项目确立了在每个偶数年上半年发布新版本的目标<sup>[14](https://www.debian.org/doc/manuals/project-history/detailed.en.html)</sup>。其当前稳定版Debian 13（trixie）于2025年8月9日以13.0首次发布，最新更新13.7于2026年9月12日发布<sup>[5](https://www.debian.org/releases/)</sup>。

**Fedora与RHEL**构成最明显的上下游关系：Fedora的一个版本被分支出来，经过漫长的开发、测试和认证，以产出Red Hat Enterprise Linux。RHEL软件是Fedora仓库所提供内容的受支持子集，RHEL更新更为保守，侧重安全与缺陷修复。Fedora由社区支持，仅由Red Hat赞助，而RHEL提供商业支持，附带服务级别协议以及经过认证的硬件和软件<sup>[7](https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/)</sup>。

**SUSE与openSUSE**遵循类似的分工：自openSUSE Leap 15版起，用户可以迁移到SUSE Linux Enterprise以获得商业支持；相比之下，Fedora是社区项目，没有零售业务<sup>[8](https://fedoraproject.org/wiki/Comparison_to_other_distributions)</sup>。

**Ubuntu**通过Canonical销售支持；Ubuntu 26.04 LTS将[Landscape](https://www.edgepedia.org/zh/landscape)管理工具集成到桌面安装程序中，使企业用户可以通过Ubuntu Pro订阅自行配置工作站<sup>[17](https://canonical.com/blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon)</sup>。

**Arch**将库与其头文件一起打包，尽量少打补丁，而Debian打补丁更为广泛；Arch还为自定义软件包提供类似ports的构建系统，而Debian依赖大型二进制仓库<sup>[9](https://wiki.archlinux.org/title/Arch_compared_to_other_distributions)</sup>。

## 数字说话

计数取决于计数规则。EDOS项目研究基于软件包的发行版复杂性时指出，存在一百多个Linux发行版，针对特定受众或需求（如易用性）量身定制<sup>[18](https://xavierleroy.org/publi/edos-ase06.pdf)</sup>。基于DistroWatch的评论给出了更完整的普查：约50个发行版是大量用户实际在用的，约500个在积极维护，约1,200个曾经存在并被命名<sup>[2](https://dev.to/max_ilands/nobody-can-tell-you-how-many-linux-distributions-exist-99)</sup>。这些数字并不矛盾，只是范围不同：EDOS写于2006年，而某个目录的总数是一条收录规则，不是对天然数量的测量<sup>[2](https://dev.to/max_ilands/nobody-can-tell-you-how-many-linux-distributions-exist-99)</sup>。

仓库规模的测量则更为可靠。Repology在其快照中跟踪323,353个总项目和4,877,080个跨仓库的独立软件包，统计Fedora 39约有24,000个软件包，其中约21,000个为最新<sup>[19](https://repology.org/repositories/statistics?autorefresh=1)</sup>。上文经同行评审的计数（Fedora 41为24,725个，Debian 12.7为34,467个，Ubuntu 24.04为37,383个）高于Fedora自家对比wiki上的数字，后者给出Debian超过20,000个、Fedora约15,000个软件包；两者在此并列，作为2024年11月实证计数与较早wiki文本之间尚未解决的差异<sup>[3](https://dl.acm.org/doi/10.1145/3744916.3787836)</sup><sup> • </sup><sup>[8](https://fedoraproject.org/wiki/Comparison_to_other_distributions)</sup>。

使用份额也有其适用限制：W3Techs只测量可通过Web服务器识别的Linux站点。按此口径，Ubuntu在Linux网站中的份额从2021年1月1日的48.1%降至2026年1月1日的13.7%，2026年10月为15.1%；Debian从2015年1月的32.3%降至2026年10月的5.7%，CentOS从2015年1月的20.5%降至2026年10月的1.2%，后者反映了转向CentOS Stream的变化<sup>[20](https://w3techs.com/technologies/history_details/os-linux/all/y)</sup>。

## 与BSD的比较

结构差异在于开发模式。BSD将其内核与用户空间程序（如shell以及ls、cp、cat、ps等核心工具）放在同一个源码仓库中一起开发，不同于Arch等GNU/Linux发行版——后者的内核与周边软件来自各自独立的上游项目，由发行版加以集成。许可证也不同：BSD许可证是宽松型的，而GPL的著佐权条款适用于受覆盖的作品及其衍生作品<sup>[9](https://wiki.archlinux.org/title/Arch_compared_to_other_distributions)</sup>。

## 近期发展

**RHEL生命周期与重建版。** RHEL 10于2025年5月20日正式可用，完整支持至2030年5月31日，维护支持至2035年5月31日，延长生命周期至2039年5月31日<sup>[4](https://access.redhat.com/product-life-cycles)</sup>。从RHEL 9开始，Red Hat将原先独立的EUS、EEUS和SAP解决方案更新服务合并为延长生命周期高级版（ELCP）；对于符合条件的偶数次版本（.2、.4、.6、.8），ELCP提供自正式可用起算6年的支持，而最终次版本（.10）获得9年支持。<sup>[21](https://access.redhat.com/support/policy/updates/errata)</sup>重建版生态在2023年源码政策变化后延续：AlmaLinux 9.8和10.2于2026年5月达到稳定正式可用，新增[PostgreSQL](https://www.edgepedia.org/zh/postgresql) 18、MariaDB 11.8、Ruby 4.0和PHP 8.4，Rocky Linux 10.2正式可用，带有更新的安装、容器、云和免安装运行镜像<sup>[22](https://almalinux.org/blog/2026-05-26-almalinux_98_and_102_stable/)</sup><sup> • </sup><sup>[23](https://rockylinux.org/news/rocky-linux-10-2-ga-release)</sup>。

**镜像模式与不可变发行版。** RHEL 10.2和9.8扩展了基于bootc的镜像模式，将操作系统视为不可变容器镜像以实现一致的部署；新的bootc选项让管理员可以预先将操作系统更新下载到整个机群而不应用它们，RHEL 10.2还引入密封镜像（sealed images）作为技术预览，让组织用自己的安全启动密钥签署操作系统镜像，实现端到端的密码学完整性保护<sup>[24](https://www.redhat.com/en/blog/rhel-102-and-98-intelligent-evolution-enterprise-linux)</sup>。在桌面端，Fedora 44提供六个主要版本、五个Atomic桌面（该项目的不可变桌面变体）、12个Spin和七个Lab；Atomic版本构建于OStree之上，后者将磁盘视为仓库，以增量、可逆的更新原子地更新操作系统镜像，约2024年OStree通过bootc增加了可引导容器。与Fedora 44一同发布的还有Fedora Atomic桌面的密封容器镜像，使用统一内核镜像（Unified Kernel Images）和systemd-boot引导加载程序构建<sup>[11](https://www.theregister.com/software/2026/04/29/fedora-44-is-out-countless-versions-of-it/5224584)</sup>。

**容器重塑发行版。** Fedora Hummingbird Linux是一个基于镜像的滚动发布操作系统，由自动化、智能体原生的软件流水线交付，脱离了标准的基于RPM的发行版构建方式，它与Red Hat的无发行版加固镜像（distroless Hardened Images）构建于同一套Konflux流水线，后者提供不含已知CVE的组件以及完整的软件物料清单<sup>[25](https://www.redhat.com/en/about/press-releases/fedora-hummingbird-linux-brings-agentic-linux-builders)</sup>。

## 选择与运行发行版

各家族的支持窗口相差一个数量级。RHEL在完整支持、维护支持和延长生命周期阶段提供十年生命周期，之后是可选的扩展支持<sup>[21](https://access.redhat.com/support/policy/updates/errata)</sup>。Debian的生命周期为五年：三年完整支持加两年长期支持；Debian 12（Bookworm）于2023年6月10日发布，2026年7月11日到达生命周期终点，2028年6月30日结束LTS，2033年6月30日结束ELTS<sup>[5](https://www.debian.org/releases/)</sup>。Ubuntu 26.04 LTS为桌面、服务器、云、WSL和Core提供五年维护更新，其余风味版支持三年，之后可购买扩展安全维护<sup>[6](https://lists.ubuntu.com/archives/ubuntu-announce/2026-April/000323.html)</sup>。Fedora大约每六个月发布一版，更新约13个月，因此其用户至少每年升级一次<sup>[7](https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/)</sup><sup> • </sup><sup>[11](https://www.theregister.com/software/2026/04/29/fedora-44-is-out-countless-versions-of-it/5224584)</sup>。

**生命周期的终点有实际内容。** 在RHEL的延长生命周期阶段，Red Hat仅对现有安装提供有限的持续技术支持，不含缺陷修复、安全修复、硬件支持和根因分析——这就是让一个版本跑过维护窗口的实际含义<sup>[21](https://access.redhat.com/support/policy/updates/errata)</sup>。

**更新信任是一个安全面。** CCS 2009年对十个流行包管理器的研究发现，尽管它们已有安全机制，但全都有可被中间人攻击者或恶意镜像利用的漏洞；研究人员用虚假凭证在他们尝试的全部五个发行版上获得了官方镜像身份，并估计拥有镜像的攻击者每周可攻陷或搞垮数百到数千个客户端<sup>[26](https://dlnext.acm.org/doi/10.1145/1455770.1455841)</sup>。引导种子是一个相关的攻击面：研究人员仅通过篡改引导二进制种子中的GNU strip、操纵成品ELF文件，就演示了对NixOS的完整“信任信任”攻击，为构建出的图形安装程序的几乎每个二进制文件植入了后门<sup>[1](https://export.arxiv.org/pdf/2607.24888)</sup>。

实用的选择规则：让发布节奏匹配人员配置。支持窗口长的定点发布发行版（RHEL、Debian、Ubuntu LTS）以新鲜度换取更长的维护承诺；滚动发布以新鲜度换取可能更窄的测试窗口；镜像模式发行版可以将运维模式从软件包更新转变为镜像替换。

## References

1. [Trusting-Trust Attack against an Entire Linux Distribution through Binary Manipulation (arXiv preprint)](https://export.arxiv.org/pdf/2607.24888)
2. [Nobody can tell you how many Linux distributions exist, DEV Community](https://dev.to/max_ilands/nobody-can-tell-you-how-many-linux-distributions-exist-99)
3. [Toward Efficient Package Maintenance: An Empirical Study of Patch Sharing across Four Linux Distributions, ICSE 2026](https://dl.acm.org/doi/10.1145/3744916.3787836)
4. [Product Life Cycles, Red Hat Customer Portal](https://access.redhat.com/product-life-cycles)
5. [Debian Releases, debian.org](https://www.debian.org/releases/)
6. [Ubuntu 26.04 ("Resolute Raccoon") LTS released, ubuntu-announce](https://lists.ubuntu.com/archives/ubuntu-announce/2026-April/000323.html)
7. [Fedora and Red Hat Enterprise Linux, Fedora Docs](https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/)
8. [Comparison to other distributions, Fedora Project Wiki](https://fedoraproject.org/wiki/Comparison_to_other_distributions)
9. [Arch compared to other distributions, ArchWiki](https://wiki.archlinux.org/title/Arch_compared_to_other_distributions)
10. [Distributions: A Brief History, Linux Journal](https://www.linuxjournal.com/index%2Ephp/article/10724)
11. [Fedora 44 is out, countless versions of it, The Register](https://www.theregister.com/software/2026/04/29/fedora-44-is-out-countless-versions-of-it/5224584)
12. [Distribution of content in RHEL 9, Red Hat documentation](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.7_release_notes/distribution)
13. [A Short History of Linux Distributions, LWN.net](https://lwn.net/Articles/91371/)
14. [Debian Project: A Detailed History, debian.org](https://www.debian.org/doc/manuals/project-history/detailed.en.html)
15. [MPM: a modular package manager, CBSE 2011](https://upsilon.cc/~zack/research/publications/cbse2011-mpm.pdf)
16. [Solving Package Management via Hypergraph Dependency Resolution (arXiv)](https://arxiv.org/html/2506.10803)
17. [Canonical releases Ubuntu 26.04 LTS Resolute Raccoon](https://canonical.com/blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon)
18. [Managing the Complexity of Large Free and Open Source Package-Based Software Distributions, EDOS, ASE 2006](https://xavierleroy.org/publi/edos-ase06.pdf)
19. [Repository statistics, Repology](https://repology.org/repositories/statistics?autorefresh=1)
20. [Historical yearly trends in the usage statistics of Linux subtechnologies, W3Techs](https://w3techs.com/technologies/history_details/os-linux/all/y)
21. [Red Hat Enterprise Linux Life Cycle, Red Hat Customer Portal](https://access.redhat.com/support/policy/updates/errata)
22. [General Availability of AlmaLinux OS 9.8 and 10.2 Stable](https://almalinux.org/blog/2026-05-26-almalinux_98_and_102_stable/)
23. [Rocky Linux 10.2 Available Now](https://rockylinux.org/news/rocky-linux-10-2-ga-release)
24. [Red Hat Enterprise Linux 10.2 and 9.8 are here, Red Hat blog](https://www.redhat.com/en/blog/rhel-102-and-98-intelligent-evolution-enterprise-linux)
25. [Fedora Hummingbird Linux Brings Agentic Linux to Builders, Red Hat press release](https://www.redhat.com/en/about/press-releases/fedora-hummingbird-linux-brings-agentic-linux-builders)
26. [A look in the mirror, ACM CCS 2009](https://dlnext.acm.org/doi/10.1145/1455770.1455841)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Operating systems › Unix-like and Linux › Linux distributions

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/linux-distribution

English original: https://www.edgepedia.org/linux-distribution
