标签:软件源 ror sed 安装 lis str ted aliyun multi
ubuntu使用官方的apt-get来安装软件,官方源的速度过慢。一,备份
#cd /etc/apt/
#sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
二,修改
#sudo vim /etc/sources.list
将sources.list中全部替换为如下内容
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
三,更新
#sudo apt-get update
标签:软件源 ror sed 安装 lis str ted aliyun multi
原文地址:http://blog.51cto.com/14103806/2324357