|
apt-fast and Axel: Roughly 26x Faster apt-get Installations and Upgrades |
|
Monday, 02 June 2008 |
Updated 12/22/2011
About apt-fast:
The apt-fast script I have created is a little shellscript that increases the speed of apt-get by many times. You need to have axel or aria2c installed as a download manager, which is a simple, short process, but everything else is extremely straight forward. I started out downloading the upgrades for Kubuntu, at 32kb/s. Not terrible, but not that great. When I was done with the script here, I was getting up to ~850kb/s. That is great!
Once you've setup apt-fast, you can use it like apt-get. To install a single package, make sure your database is up to date (apt-fast update), and run apt-fast install packagenamehere. Watch it download with incredible speed, and install your requested packages. To upgrade or dist-upgrade, do the same thing. Just use apt-fast dist-upgrade or apt-fast upgrade. That's all there is to it!
Should your download stall for any number of reasons, you'll need to do an apt-fast clean.
This is a fully opensource script, of course, under the GPLv3, so please improve upon it and modify it as you will. If you do something cool with it, or make a useful mod to the code, please pastebin it or put it in a forum somewhere and put a link in the comments below. I'll give you credit and add it to the script here on mattparnell.com.
|