debian 是 linux 系统最大的发行版之一,但其版本命名却一直令我困扰。
因此我整理了一下 Debian 各个版本的命名和关系。
Debian 版本号直接用数字来表示,如从 Debian 8、9、10 和 11 等等。
从 Debian 6 开始,每个大的发行版都会在原数字上加 1。如 2023 年发布的是 Debian 12。
在当前版本的基础上,通过增加小数来表示小幅度的更新。例如,Debian 12.0发布后,随后的更新版本分别为12.1、12.2等。
版本号是比较常规的,也符合一般认知。
除版本号外,Debian 还有发行版的代号。对于每一代版本,都有一对应的 codename (绰号)。
这些代号来自于电影《玩具总动员》中的角色名。如 Debian 12 就叫 bookworm,Debian 11 叫做 bullseye。
在 Debian 中,稳定性版本既可以用来描述 Debian 系统的版本,也可以用来描述系统软件包的版本。❞
根据 Debian 官方发行的版本现状,可分为以下几类:
在当前 (2024 年 2 月) 时间下,Debian 各个版本、代号及现状如下 (太早的版本省略):
version | codename | branche |
---|---|---|
13 | trixie | testing |
12 | bookworm | stable |
11 | bullseye | oldstable |
10 | buster | oldoldstable |
9 | stretch | archived |
8 | jessie | archived |
7 | wheezy | obsolete |
可在 Debian 的镜像站找到对应的地区。中国大陆的有网易镜像站和兰州大学镜像站。
以网易镜像站为例,
Debian 下载时,常见有以下几类镜像。
我个人选择以下格式 Debian 下载:
Debian 将其软件仓库分为以下几种:
根据 Debian 软件仓库中软件的自由度分为以下三种:
Debian 软件源文件通常位于 /etc/apt/sources.list,可以以直接编辑此文件,也可以在 /etc/apt/sources.list.d/ 目录下创建单独的文件来添加源。
软件源格式如下:
deb [uri] distribution [component1] [component2] [component3] deb-src [uri] distribution [component1] [component2] [component3
上述参数的解释:
distribution 有以下几种类型:
以下是 bookworm 版具体的镜像源写法,使用了清华镜像源:
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
以上就是Debian各版本号,代号和软件源的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号