Linux軟體源的設定方法
1 開啟資料來源配置檔案
vi /etc/apt/sources.list
新增相關的資料來源,可以選擇以下的資料來源,不要寫太多,否則會影響更新速度。
之後使用apt-get update更新源列表
為防止非官方源中軟體包不全的問題,請在sources.list檔案中尾部新增一組官方源。
#######################################
# 163
deb http://mirrors.163.com/debian/ lenny main contrib non-free
deb-src http://mirrors.163.com/debian lenny main contrib non-free
deb http://mirrors.163.com/debian-security/ stable/updates main
deb-src http://mirrors.163.com/debian-security/ stable/updates main
# official
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main
deb http://volatile.debian.org/debian-volatile stable/volatile main
deb-src http://volatile.debian.org/debian-volatile stable/volatile main
# 臺灣及大陸教育網高校等
deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free
deb http://mirrors.geekbone.org/debian/ lenny main contrib non-free
deb-src http://mirrors.geekbone.org/debian/ lenny main contrib non-free
deb http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free
deb-src http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free
deb http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free
deb-src http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free
### ustc debian-multimedia
deb http://debian.ustc.edu.cn/debian-multimedia/ stable main
deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main
### ustc debian-security
deb http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib
deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib
臺灣及大陸教育網高校等
Linux軟體源的設定方法
1 開啟資料來源配置檔案
vi /etc/apt/sources.list
新增相關的資料來源,可以選擇以下的資料來源,不要寫太多,否則會影響更新速度。
之後使用apt-get update更新源列表
為防止非官方源中軟體包不全的問題,請在sources.list檔案中尾部新增一組官方源。
#######################################
# 163
#######################################
deb http://mirrors.163.com/debian/ lenny main contrib non-free
deb-src http://mirrors.163.com/debian lenny main contrib non-free
deb http://mirrors.163.com/debian-security/ stable/updates main
deb-src http://mirrors.163.com/debian-security/ stable/updates main
#######################################
# official
#######################################
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main
deb http://volatile.debian.org/debian-volatile stable/volatile main
deb-src http://volatile.debian.org/debian-volatile stable/volatile main
#######################################
# 臺灣及大陸教育網高校等
#######################################
deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free
deb http://mirrors.geekbone.org/debian/ lenny main contrib non-free
deb-src http://mirrors.geekbone.org/debian/ lenny main contrib non-free
deb http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free
deb-src http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free
deb http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free
deb-src http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free
### ustc debian-multimedia
deb http://debian.ustc.edu.cn/debian-multimedia/ stable main
deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main
### ustc debian-security
deb http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib
deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib
臺灣及大陸教育網高校等
#######################################
deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free
deb http://mirrors.geekbone.org/debian/ lenny main contrib non-free
deb-src http://mirrors.geekbone.org/debian/ lenny main contrib non-free
deb http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free
deb-src http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free
deb http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free
deb-src http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free
### ustc debian-multimedia
deb http://debian.ustc.edu.cn/debian-multimedia/ stable main
deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main
### ustc debian-security
deb http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib
deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib