debian 配置源

Linux大全评论981 views阅读模式

以下 stable, testing, unstable, experimental 的源算是对 Debian 软件包的一种水平划分。其实也可看成为稳定性不同的发行版本。

通常我们还会以开发代号来称呼它们,目前的 stable 的开发代号是 sagre, testing 的开发代号是 etch,而 unstable 的开发代号一直是 sid。

以前 testing 对应的是 sarge,后来 sarge 发展得差不多了,Debian 社区正式发行了 sarge,于是 sarge 就变成了 stable 版本。现在的 testing 则是 etch,将来发展稳定了etch 将变成新的 stable 版本。

stable源,就如同字面意思一样,是最稳定的源,但相对的各个软件则通常不是最新版, 一般情况下没有出现什么安全问题是不会更新的,所安装软件较少也较为固定。

如果是搭建服务器的话,一般都采用 stable 的源。

deb http://mirror.bitunion.org/debian/ stable main contrib non-free

deb-src http://mirror.bitunion.org/debian/ stable main contrib non-free

deb http://mirror.bitunion.org/debian-non-US stable/non-US main contrib non-free

deb-src http://mirror.bitunion.org/debian-non-US stable/non-US main contrib non-free

testing 源,虽名为测试版,实则已经相当接近于 stable 版本的程度,这个版本的软件多半是在 unstable 中经由维护、开发人员不断的测试之后流入,所以在某种程度来说,其实已经做过初步的检测,这里头的软件大多也是相当稳定的,而且软件也都会比 stable 里头的新,而且软件总量来说则比上 stable 要多很多。

大多数人一般都使用的都是 testing 的源。

deb http://mirror.bitunion.org/debian/ testing main contrib non-free

deb-src http://mirror.bitunion.org/debian/ testing main contrib non-free

deb http://mirror.bitunion.org/debian-non-US testing/non-US main contrib non-free

企鹅博客
  • 本文由 发表于 2019年9月6日 12:29:31
  • 转载请务必保留本文链接:https://www.qieseo.com/199137.html

发表评论