Ubuntu14.04更换软件源

来源:互联网 发布:怎么登录阿里云服务器 编辑:程序博客网 时间:2024/06/05 18:07

国内Ubuntu可用源

###163deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse###中科大deb http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe###sohudeb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse###oschinadeb http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiversedeb http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse###北京交通大学deb http://mirror.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse###北京理工deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universedeb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universedeb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universerestricted universe###上海交大deb http://ftp.sjtu.edu.cn/ubuntu/ trusty universe restricted multiverse maindebhttp://ftp.sjtu.edu.cn/ubuntu/ trusty-security universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports universe restricted multiverse main###阿里云服务器deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  • 选择其中一个源替换 /etc/apt/sources.list
  • 执行更新操作:sudo apt-get update
cd /etc/apt/sudo mv sources.list   sources.list.originsudo echo "deb http://ftp.sjtu.edu.cn/ubuntu/ trusty universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-security universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports universe restricted multiverse main" >> sources.listsudo apt-get update
0 0
原创粉丝点击