
Ubuntu provides an excellent package manager graphical frontend with the synaptics package manager. But, it still lacks something. That is accelerated downloads. So, today, i will share with you how I accelerate my package downloads in Ubuntu. For this, you will need any command line download accelerator. A download acelerator splits up the file into multiple segments and all that.
So here is how you can accelerate your package downloads.
- Download a download manager “axel” from the repositories. Download here.
- Type in these two lines into the command line ::
>apt-get -y --print-uris install package_name > filename.list
>egrep -o -e "(ht|f)tp://[^']+" filename.list | xargs -l1 axel -a
This first line reads the download instructions, ie; the list of files to download and saves it into a file specified as filename.txt. One advantage of this is that thefile not only includes the package to be downloaded but also its’ dependencies.
The second line uses the download manager to download the packages and install them. Not only this, the packages are stored in the folder you run the commands from.
Chinmoy Kanjilal is the geek behind Techarraz. This is where he rants about his adventures with technology. Get to know him better, and connect with him on social networks.
Recent reactions