Fast snail mail: apt-fast
If you often feel that apt-get or aptitude package installation is too slow On Debian or Ubuntu systems, there are several ways to improve this situation. Have you ever considered changing the default image site in use? Have you ruled out the possibility that the upstream bandwidth of the Internet Connection becomes a bottleneck?
If not, try the third option: Use the apt-fast tool. Apt-fast is actually a shell script container written around apt-get and aptitude. It can speed up package download. Apt-fast essentially uses the aria2 download tool, which can download one file (like BitTorrent download) from multiple images in parallel in block mode ).
Apt-fast-use axel to install apt-get multi-thread acceleration Software
Apt acceleration tool for Ubuntu: apt-fast
Install apt-fast to speed up apt-get download
Apt-fast: Apsara stack apt-get
Use apt-fast to accelerate your Ubuntu apt
Install apt-fast On Debian or Ubuntu
The following describes how to install apt-fast On Debian-based Linux.
Debian
- $ Sudo apt-get install aria2
- $ Wget https://github.com/ilikenwf/apt-fast/archive/master.zip
- $ Unzip master.zip
- $ Cd apt-fast-master
- $ Sudo cp apt-fast/usr/bin
- $ Sudo cp apt-fast.conf/etc
- $ Sudo cp./man/apt-fast.8/usr/share/man/man8
- $ Sudo gzip/usr/share/man/man8/apt-fast.8
- $ Sudo cp./man/apt-fast.conf.5/usr/share/man/man5
- $ Sudo gzip/usr/share/man/man5/apt-fast.conf.5
Ubuntu 14.04 and later
- $ Sudo add-apt-repository ppa: saiarcot895/myppa
- $ Sudo apt-get update
- $ Sudo apt-get install apt-fast
Ubuntu 11.04 to Ubuntu 13.10
- $ Sudo add-apt-repository ppa: apt-fast/stable
- $ Sudo apt-get update
- $ Sudo apt-get install apt-fast
During installation, You need to select a default Package Manager (e.g., apt-get. aptitude) and set other options. However, you can change the settings at any time by editing the configuration file/etc/apt-fast/conf.
Configure apt-get
After installation is complete, you need to configure a series of images that apt-fast uses in the/etc/apt-fast.conf.
You can find a series of Debian/Ubuntu images in the URL below.
- Debian: http://www.debian.org/mirror/list
- Ubuntu: https://launchpad.net/ubuntu/+archivemirrors
After selecting those images that are geographically close to you, you need to add the selected images to the/etc/apt-fast.conf in the following format.
- $ Sudo vi/etc/apt-fast.conf
Debian:
- MIRRORS = ('HTTP: // response /')
Ubuntu/Mint:
- MIRRORS = ('HTTP: // response /')
As shown above, individual images of a specific file must be separated by commas. You need to include the default image specified site in the MIRRORS string of/etc/apt/sources. list.
For more details, please continue to read the highlights on the next page: