Tuesday, 3 May 2011

apt-fast--- faster apt-get installations !!!

When I  see new upgrades or updates available for my Ubuntu distribution i go for them instantly, unfortunately it takes a whole lot time to update using "apt-get" mainly because it doesn't create parallel download connections.
After a bit Googling i came across a cool script named apt-fast by Matt Parnell which can be found here (most recent one with name "apt-fast.sh"). Just download it.

Make it executable and owned by root and then move it to /usr/bin by issuing following commands on terminal::

dex@dex-desktop:~$ sudo -i
sudo password for dex:
root@dex-desktop:~# chown root:root apt-fast.sh
root@dex-desktop:~#chmod u+x apt-fast.sh
root@dex-desktop:~#mv ./apt-fast.sh /usr/bin/apt-fast
root@dex-desktop:~# ls -l /usr/bin/apt-fast
-rwxr--r-- 1 root root 2072 2011-04-09 15:14 /usr/bin/apt-fast

Note that apt-fast uses same options and commands as apt-get but is faster. For example

root@dex-desktop:~#apt-fast upgrade

P.S. :: If your distro doesn't have axel package then the script apt-fast does it for you. Axel is a light download accelerator for Linux. You can play with axel too.

No comments:

Post a Comment