apt-fast is a shell script wrapper for apt-get and aptitude that can drastically improve APT download times by downloading packages with multiple connections per package. Apt-Fast uses the Axel download accelerator in Ubuntu 12.04 or the aria2 download accelerator in Ubuntu 14.04 and later to download different pieces of a package simultaneously, reducing the total time it takes to download a package.
The apt-fast package can be installed in all currently supported versions of Ubuntu by adding the apt-fast/stable PPA to your software sources and installing it using these commands.
sudo add-apt-repository ppa:apt-fast/stable
sudo apt update
sudo apt install apt-fast
During the apt-fast installation process, you will be prompted to perform some package configuration. After successfully installing apt-fast, simply use it the same way you run apt or apt-get.
#!/bin/sh
– geirha Jul 08 '11 at 08:33