您的位置:首页 > 其它

Ubuntu 14.04 设置软件源

2016-10-28 10:00 288 查看
建议先将之前的备份,然后在编辑

cp /etc/apt/sources.list /etc/apt/sources.list.bak
vi /etc/apt/sources.list
中科大软件源

deb http://debian.ustc.edu.cn/ubuntu/ natty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-updates main multiverse restricted universe

阿里云:

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse


网易163源:

deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

更新完成后记得sudo apt-get update
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu 软件源