Several times over the past couple years, I've heard of people using apt-fast
for updating and installing packages, but I'm not really sure what it does. I think I've traced its origin to this forum post, and it seems to be a script that speeds up apt-get
operations.
What exactly does the script do? Are there any potential downsides to using it? If not, why isn't everyone using it?
It appears to use the program
axel
to download the files using multiple concurrent connections to multiple mirrors. My guess is that everyone isn't using it because most people don't have connections that are significantly faster than the mirrors, and therefore, can substantially benefit from concurrent downloads, combined with the fact that most people haven't heard of it. This is the first time I've ever heard it mentioned in 5 years of running Ubuntu.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.
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.