Speed Up apt-get Downloads With apt-fast [Ubuntu PPA]
Apt-fast is a script that can "drastically improve APT download speed" by using command line download accelerators such as Axel or Aria2 with multiple connections per package.
uses aria2 or axel, 2 great command line download tools to improve download speed, with multiple connections per package
supports both apt-get and aptitude
supports most apt-get functions: install, upgrade, dist-upgrade, build-dep and so on
apt-fast only speeds up downloading the binaries, so even though 'apt-fast update' works, this command isn't ran using a download accelerator so the speed is the same as with apt-get. Support for the 'update' command is, however, planned for a future release.
Ubuntu users can install the latest stable apt-fast from its official PPA:
sudo add-apt-repository ppa:apt-fast/stable sudo apt-get update sudo apt-get install apt-fast
When installing apt-fast in Ubuntu via its PPA, the package asks you if you want to use aptitude or apt-get, what download manager to use (axel or aria2c). aria2c is the download tool recommended by the apt-fast developers, mostly because it supports resuming downloads.
apt-fast works the same as apt-get and all you have to do is use "sudo apt-fast install PACKAGE" instead of "apt-get" and so on for any operation.
sudo apt-fast install PACKAGE
Install the build dependencies for a package:
sudo apt-fast build-dep PACKAGE
Like I was saying, the commands are identical to apt-get and all you have to do is replace "apt-get" with "apt-fast". There's also a download command ("apt-fast download PACKAGE") which downloads the binary into the current directory.