DiffOS 为自由而生
摘要
DiffOS 是一个基于 Debian 的 GNU/Linux 发行版,旨在遵循自由系统发行指南,以最小化对上游 Debian 的修改来提供尊重自由的软件。
<p><a href="https://lobste.rs/s/mfx8ja/diffos_is_for_freedom">评论</a></p>
查看缓存全文
缓存时间: 2026/09/11 08:47
# DiffOS 为自由而生!
来源:https://www.diffos.org/
DiffOS 是一个立志满足自由系统发行版指南(GNU FSDG)(https://www.gnu.org/distros/free-system-distribution-guidelines.html) 的 GNU/Linux 发行版,基于 Debian GNU/Linux (https://www.debian.org/)。
简而言之:
``
podman run -it registry.gitlab.com/debdistutils/diffos/container:trixie
``
## 宣言
DiffOS 是追求自由的操作系统——Debian 的增量版。
- 致力于实现 GNU FSDG (https://www.gnu.org/distros/free-system-distribution-guidelines.html) 的目标,成为被认可的自由 GNU/Linux 发行版 (https://www.gnu.org/distros/free-distros.html)。
- 使用 Debian GNU/Linux (https://www.debian.org/) 作为上游。
- 支持 Debian 所支持的所有架构。
- 提供容器、云镜像、LiveCD 和安装 ISO。
- 提供软件包仓库的独立托管。
- 提供文档和问题跟踪器。
- 将更改保持在最低限度,特别是:
- 上游优先策略:任何更改优先在 Debian 中进行,只有当上游无法实现时才考虑纳入 DiffOS。
- 在可能的情况下最大限度地重用二进制软件包。
- 除非 FSDG *要求*(例如,出于自由考虑)或 Debian 项目*要求*(例如,出于品牌原因),否则不修改任何源代码级别的 Debian 软件包。
- 发布与 Debian 相比新增、删除或修改的软件包列表,并说明每项更改的理由。
- 发布 Diffoscope (https://diffoscope.org/) 风格的输出,将我们的构建产物与相应的 Debian 产物进行比较。
- 所有内容均从 CI/CD 流水线构建,灵感来自 Salsa CI 流水线 (https://salsa.debian.org/salsa-ci-team/pipeline/),但扩展至涵盖软件包仓库和安装镜像,以实现整个供应链的现代 GitSecDevOps。
- 借鉴其他基于 Debian 的 FSDG 发行版 Trisquel GNU/Linux (https://trisquel.info/) 和 PureOS (https://pureos.net/) 的经验,并广泛参考 GNU Guix (https://guix.gnu.org/),特别是在处理软件包现有自由问题方面。
- 与 Git 平台无关。虽然目前托管在 GitLab.com,但脚本和配置已设计(或将设计)为允许在自托管 GitLab 实例、Codeberg.org (https://codeberg.org/) 或自托管 Forgejo (https://forgejo.org/) 上设置。
- 由人类维护 - 人工智能时代的人类宣言 (https://thehumanmanifesto.org/)。
## 当前状态
DiffOS 归档 (https://gitlab.com/debdistutils/diffos/archive) 项目包含软件包归档,包括从 Debian 合并软件包的脚本。
DiffOS 的软件包归档被认为是稳定的。目前我们支持 trixie、bookworm 和 bullseye。归档发布在 https://deb.diffos.org/diffos/ 和 https://security.diffos.org/diffos-security/,遵循与 Debian 相同的命名模式。DiffOS 使用的套件名称为 `diffos-bookworm`、`diffos-trixie` 和 `diffos-trixie-security` 等,而非 `bookworm`、`trixie` 或 `trixie-security`。仅提供 `main` 组件。例如,Diffos trixie 的 `InRelease` 文件发布在 https://deb.diffos.org/diffos/dists/diffos-trixie/InRelease。
DiffOS 容器 (https://gitlab.com/debdistutils/diffos/container) 提供了适用于 trixie、bookworm 和 bullseye 可用组合(适用于 amd64、arm64、ppc64el 和 riscv64)的镜像,包括 `*-slim` 变体。
DiffOS 云镜像 (https://gitlab.com/debdistutils/diffos/cloud) 为 bookworm 和 trixie 提供适用于 amd64、arm64、ppc64el 和 riscv64 架构的 `generic` 变体。
安装和 Live 镜像 (https://gitlab.com/debdistutils/diffos/live) 正在开发中,每周构建 ISO。
DiffOS 的软件包采用每个软件包一个项目的方式开发,可在 packages/ 子组 (https://gitlab.com/debdistutils/diffos/packages) 下找到。每个软件包都有一个构建二进制文件的 CI/CD 流水线。生成的二进制文件被手动合并到归档 (https://gitlab.com/debdistutils/diffos/archive) 中。
Debian 和 DiffOS 之间的差异列表 (https://debdistutils.gitlab.io/debdistdiff/diffos-vs-debian/) 由 debdistdiff (https://gitlab.com/debdistutils/debdistdiff) 持续监控和总结。
计划进行 Diffoscope 产物比较。
审查软件包的品牌和自由问题可能是一项长期持续的任务。与 Trisquel 和 PureOS 的灵感与合作将在此提供帮助。
计划在 CI/CD 中自动化仓库导入、合并和生成,目前这些操作是手动执行的。
长期目标是规划一个 Forgejo codeberg.com 变体。
主网站 www.diffos.org (https://www.diffos.org/) 于 2026-09-04 公开。
## 容器镜像
有关变体和当前状态,请参阅 DiffOS 容器镜像 (https://gitlab.com/debdistutils/diffos/container)。
适用于 amd64、arm64、ppc64el 和 riscv64 的示例用法:
``
podman run -it registry.gitlab.com/debdistutils/diffos/container:trixie
``
多架构(amd64、arm64、trixie/bookworm ppc64el、trixie riscv64)变体:
容器 URL
registry.gitlab.com/debdistutils/diffos/container:trixie
registry.gitlab.com/debdistutils/diffos/container:trixie-slim
registry.gitlab.com/debdistutils/diffos/container:bookworm
registry.gitlab.com/debdistutils/diffos/container:bookworm-slim
registry.gitlab.com/debdistutils/diffos/container:bullseye
registry.gitlab.com/debdistutils/diffos/container:bullseye-slim
特定架构的非精简版变体:
容器 URL
registry.gitlab.com/debdistutils/diffos/container:trixie-amd64
registry.gitlab.com/debdistutils/diffos/container:trixie-arm64
registry.gitlab.com/debdistutils/diffos/container:trixie-riscv64
registry.gitlab.com/debdistutils/diffos/container:trixie-ppc64el
registry.gitlab.com/debdistutils/diffos/container:bookworm-amd64
registry.gitlab.com/debdistutils/diffos/container:bookworm-arm64
registry.gitlab.com/debdistutils/diffos/container:bookworm-ppc64el
registry.gitlab.com/debdistutils/diffos/container:bullseye-amd64
registry.gitlab.com/debdistutils/diffos/container:bullseye-arm64
特定架构的精简版变体:
容器 URL
registry.gitlab.com/debdistutils/diffos/container:trixie-slim-amd64
registry.gitlab.com/debdistutils/diffos/container:trixie-slim-arm64
registry.gitlab.com/debdistutils/diffos/container:trixie-slim-riscv64
registry.gitlab.com/debdistutils/diffos/container:trixie-slim-ppc64el
registry.gitlab.com/debdistutils/diffos/container:bookworm-slim-amd64
registry.gitlab.com/debdistutils/diffos/container:bookworm-slim-arm64
registry.gitlab.com/debdistutils/diffos/container:bookworm-slim-ppc64el
registry.gitlab.com/debdistutils/diffos/container:bullseye-slim-amd64
registry.gitlab.com/debdistutils/diffos/container:bullseye-slim-arm64
## 云镜像
DiffOS 云镜像 (https://gitlab.com/debdistutils/diffos/cloud) 项目创建并发布云镜像。请参阅软件包注册表 (https://gitlab.com/debdistutils/diffos/cloud/-/packages) 下载发布镜像,包括以下变体:
- diffos-13-generic-amd64.qcow2
- diffos-13-generic-arm64.qcow2
- diffos-13-generic-ppc64el.qcow2
- diffos-13-generic-riscv64.qcow2
- diffos-12-generic-amd64.qcow2
- diffos-12-generic-arm64.qcow2
- diffos-12-generic-ppc64el.qcow2
- diffos-11-generic-amd64.qcow2
- diffos-11-generic-arm64.qcow2
## 支持与问题报告
可以在 DiffOS 问题跟踪器 (https://gitlab.com/groups/debdistutils/diffos/-/issues) 中提交问题。
如果您知道您的问题与特定组件有关,请在相应的问题跟踪器中提交问题。
## 许可证
通过 DiffOS 分发的软件包根据各种许可证授权,但都被认为是自由软件 (https://www.gnu.org/philosophy/free-sw.html) 并遵循 FSDG 指南 (https://www.gnu.org/distros/free-system-distribution-guidelines.html)。
在已安装的 DiffOS 系统上,许可证信息可通过 `/usr/share/doc/PKG/copyright` 获取,将 PKG 替换为您感兴趣的相应软件包。
本项目中的任何文件都是自由软件:您可以在自由软件基金会发布的 GNU Affero 通用公共许可证条款下重新分发它和/或修改它,该许可证是许可证的第 3 版或(由您选择)任何更高版本。
请参阅文件 COPYING (https://www.diffos.org/COPYING) 或 https://www.gnu.org/licenses/agpl-3.0.en.html 获取许可证文本。
相似文章
FOSS之后是什么?
文章讨论了开放数字基础设施作为FOSS的演进,由开源代码、标准和知识资产组成,构成了社会中使用的数字构件的基础。
Odyssey Linux
Odyssey Linux 是一个开源 Linux 发行版,其源代码和治理文档均公开可用。
LibreOps
LibreOps 是一个黑客集体,基于开源软件提供去中心化的、自由(自由软件意义上的自由)服务,是 Librehosters 网络的一部分,致力于提供尊重隐私的替代方案,以对抗企业服务。
Osmantic/ODS
Osmantic/ODS 是一个开源部署系统,允许用户通过集成 Ollama 和 Open WebUI 等工具,在个人电脑上搭建私有 AI 服务器,用于本地模型推理、聊天界面和隐私优先的操作。
RavynOS:基于 Darwin、FreeBSD、Apple 开源的预 alpha 版开源操作系统
RavynOS 是一个基于 Darwin 和 FreeBSD 的预 alpha 版开源操作系统,旨在为开发者提供类似 macOS 的精致体验和开源自由。