On Ubuntu 16.04 LTS, you can use the apt-fast
tool to speed up apt-get
by downloading packages in parallel from multiple connections. Here’s how to use apt-fast
:
- Install
apt-fast
: You can installapt-fast
using the following command:
sudo apt-get update
sudo apt-get install apt-fast
- Configure
apt-fast
: Once installed, you can configure the number of connections to use with the following command:
sudo nano /etc/apt-fast.conf
In the configuration file, you can set the number of connections by changing the value of the MAX_CONCURRENCY
variable. The default value is 5
.
- Use
apt-fast
: To useapt-fast
, you can simply run it in place ofapt-get
. For example, to upgrade packages, you can run the following command:
sudo apt-fast upgrade
- Verify downloads: You can verify that
apt-fast
is downloading packages in parallel by checking the network activity in the system monitor.
That’s it! With apt-fast
, you can speed up apt-get
on your Ubuntu 16.04 LTS server by downloading packages in parallel from multiple connections.