The universal operating system
- sid (unstable)
- buster (10 testing)
- stretch (9 stable)
- jessie (8 oldstable)
- wheezy (7 oldoldstable)
- amd64
- i386
- armhf
注:未收录 kfreebsd 和 hurd
以stretch
为例,编辑/etc/apt/sources.list
, 在文件开头添加以下内容
请根据需要去掉 deb-src
以及 proposed-updates
和 backports
前面的注释
deb http://mirrors.xdlinux.info/debian/ stretch main non-free contrib
#deb-src http://mirrors.xdlinux.info/debian/ stretch main non-free contrib
deb http://mirrors.xdlinux.info/debian/ stretch-updates main non-free contrib
#deb-src http://mirrors.xdlinux.info/debian/ stretch-updates main non-free contrib
#deb http://mirrors.xdlinux.info/debian/ stretch-proposed-updates main non-free contrib
#deb-src http://mirrors.xdlinux.info/debian/ stretch-proposed-updates main non-free contrib
#deb http://mirrors.xdlinux.info/debian/ stretch-backports main non-free contrib
#deb-src http://mirrors.xdlinux.info/debian/ stretch-backports main non-free contrib
安全更新请参见 debian-security
注:testing 和 unstable 不提供安全更新