RSS

Debian配置使用Dotdeb更新源

2012.01.14 No Comments

Debian官方的源一般都以稳定为主,所以里面的软件版本也相对比较低,Dotdeb的源更新速度比较快,而且里面的软件包都是最新稳定版的,所以我使用Debian一般都喜欢加入Dotdeb的源,安装最新的稳定版软件。

根据Dotdeb.org官方的使用说明,对照着英文大概翻译下Dotdeb源的使用方法:

1.根据你使用的Debian的发行版本(lenny/oldstable 或 squeeze/stable),在/etc/apt/sources.list文件中加入两行(选择最近的镜像站):
Squeeze :
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
Lenny :
deb http://packages.dotdeb.org oldstable all
deb-src http://packages.dotdeb.org oldstable all

2.(可选)如果你使用Debian 5.0 “Lenny” 版本,而且你想使用PHP 5.3取代PHP 5.2,在/etc/apt/sources.list文件中添加如下所示的两行内容。:
deb http://php53.dotdeb.org oldstable all
deb-src http://php53.dotdeb.org oldstable all
注:如果你在使用Debian 6.0 “Squeeze” 版本就不用加了,因为PHP 5.3在Debian 6.0 “Squeeze”中默认就有

3.然后获取GnuPG 密钥
wget http://www.dotdeb.org/dotdeb.gpg
cat dotdeb.gpg | sudo apt-key add -

4.运行 apt-get update

5.最后就可以使用apt-get (dselect或aptitude等命令)使用Dotdeb的软件包了

参考:http://www.dotdeb.org/instructions/
本文定期会根据官方的E文使用说明翻译更新

附Dotdeb.org更新源的全球各地镜像:

* Austria(奥地利)

deb http://dotdeb.gosi.at/ stable all
deb-src http://dotdeb.gosi.at/ stable all

* Belgium(比利时)

deb http://dotdeb.debian.skynet.be/ stable all
deb-src http://dotdeb.debian.skynet.be/ stable all

* Bulgaria(保加利亚)

deb http://dotdeb.ipacct.com/packages/ stable all
deb-src http://dotdeb.ipacct.com/packages/ stable all

* Czech republic(捷克共和国)

deb http://debian-dotdeb.mirror.web4u.cz/ stable all
deb-src http://debian-dotdeb.mirror.web4u.cz/ stable all

* France(法国)

deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

* Germany(德国)

deb http://ftp.hosteurope.de/mirror/packages.dotdeb.org/ stable all
deb-src http://ftp.hosteurope.de/mirror/packages.dotdeb.org/ stable all

deb http://dotdeb.netmirror.org/ stable all
deb-src http://dotdeb.netmirror.org/ stable all

* Japan(日本)

deb http://download.softagency.net/debian/dotdeb/ stable all
deb-src http://download.softagency.net/debian/dotdeb/ stable all

* Netherlands(荷兰)

deb http://dotdeb.mirror.cambrium.nl/ stable all
deb-src http://dotdeb.mirror.cambrium.nl/ stable all

* Romania(罗马尼亚)

deb ftp://download.srv.ro/pub/dotdeb/ stable all
deb-src ftp://download.srv.ro/pub/dotdeb/ stable all

* Slovakia(斯洛伐克)

deb http://mirrors.mojhosting.sk/dotdeb/ stable all
deb-src http://mirrors.mojhosting.sk/dotdeb/ stable all

* Switzerland(瑞士)

deb http://mirror.yux.ch/dotdeb/ stable all
deb-src http://mirror.yux.ch/dotdeb/ stable all

* United Kingdom(英国)

deb http://dotdeb.mirror.somersettechsolutions.co.uk/ stable all
deb-src http://dotdeb.mirror.somersettechsolutions.co.uk/ stable all

* USA (US/Canada/Mexico only)美国/加拿大/墨西哥

deb http://dotdeb.mirror.borgnet.us/ stable all
deb-src http://dotdeb.mirror.borgnet.us/ stable all

Leave a Reply
icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif