Ubuntu 17.10 software source method modification, ubuntu17.10 Modification
After ubuntu 17.10 is installed, we find that the installation of software with apt-get is very slow, so we need to change the software source.
Method:
1. built-in backup source
sudo cp /etc/apt/sources.list ~/sources.list.bak
2. Modify the source:
Paste the following content to the/etc/apt/sources. list file:
# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted# See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb https://mirrors.aliyun.com/ubuntu/ artful main restricted# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty main restricted## Major bug fix updates produced after the final release of the## distribution.deb https://mirrors.aliyun.com/ubuntu/ artful-updates main restricted# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.deb https://mirrors.aliyun.com/ubuntu/ artful universe# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty universedeb https://mirrors.aliyun.com/ubuntu/ artful-updates universe# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu## security team.deb https://mirrors.aliyun.com/ubuntu/ artful multiverse# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty multiversedeb https://mirrors.aliyun.com/ubuntu/ artful-updates multiverse# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse## N.B. software from this repository may not have been tested as## extensively as that contained in the main release, although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.#deb https://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's## 'partner' repository.## This software is not part of Ubuntu, but is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb https://archive.canonical.com/ubuntu zesty partner# deb-src https://archive.canonical.com/ubuntu zesty partner# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted# See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.#deb https://mirrors.aliyun.com/ubuntu/ artful main restricted# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty main restricted## Major bug fix updates produced after the final release of the## distribution.#deb https://mirrors.aliyun.com/ubuntu/ artful-updates main restricted# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.#deb https://mirrors.aliyun.com/ubuntu/ artful universe# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty universe#deb https://mirrors.aliyun.com/ubuntu/ artful-updates universe# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu## security team.#deb https://mirrors.aliyun.com/ubuntu/ artful multiverse# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty multiverse#deb https://mirrors.aliyun.com/ubuntu/ artful-updates multiverse# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse## N.B. software from this repository may not have been tested as## extensively as that contained in the main release, although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.#deb https://mirrors.aliyun.com/ubuntu/ artful-backports main restricted universe multiverse# deb-src https://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's## 'partner' repository.## This software is not part of Ubuntu, but is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb https://archive.canonical.com/ubuntu zesty partner# deb-src https://archive.canonical.com/ubuntu zesty partner
3. Update Source
sudo apt-get update