ubuntu linux 更换 阿里云 软件源 安装 svn

ubuntu linux 更换 阿里云 软件源(速度更快,软件更多),需要修改文件:/etc/apt/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

这样就可以安装软件了,比如要安装 svn:

sudo apt-get install subversion
sudo apt-get install libapache2-svn
关于svn的安装说明: http://subversion.apache.org/packages.html#ubuntu

你可能感兴趣的:(Linux)