Original address: http://www.cnblogs.com/zhangpengshou/p/3591387.html
To optimize the installation/update speed of Ubuntu software, I tested the speed of several apt sources in China, found that the apt source speed of Beijing Jiaotong University is the fastest, then can update Ubuntu source by following steps
1) Back up the default apt source
$ cd/etc/ Apt
$ sudo cp sources.list sources.list.backup
2) Edit
$ sudo gedit sources.list
Copy and paste the following list:
Deb http://archive.ubuntu.com/ubuntu/raring main restricted Universe Multiverse
Deb HTTP/ Archive.ubuntu.com/ubuntu/raring-security main restricted universe Multiverse
Deb http://archive.ubuntu.com/ Ubuntu/raring-updates main restricted universe Multiverse
Deb http://archive.ubuntu.com/ubuntu/raring-proposed Main restricted universe Multiverse
Deb Http://archive.ubuntu.com/ubuntu/raring-backports main restricted universe Multiverse
Deb-src http://archive.ubuntu.com/ubuntu/raring main restricted universe Multiverse
Deb-src/http/ Archive.ubuntu.com/ubuntu/raring-security main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ Ubuntu/raring-updates main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ubuntu/raring-backports Main restricted universe Multiverse
3) Note that each time you finish modifying the apt source, be sure to perform the update
sudo apt-get update
It took about a few minutes for the app to be installed using apt after the update was completed.
Replace Ubuntu Apt-get Source