How to use multiple connections to speed up apt-get on Ubuntu Linux 16.04 LTS server with apt-fast

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:

  1. Install apt-fast: You can install apt-fast using the following command:
sudo apt-get update
sudo apt-get install apt-fast
  1. 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.

  1. Use apt-fast: To use apt-fast, you can simply run it in place of apt-get. For example, to upgrade packages, you can run the following command:
sudo apt-fast upgrade
  1. 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.

Leave a Comment