We have already seen how to download files from the internet through our terminal, using wget … But, wget is unfortunately not perfect.
When we download a file with wget, it (wget) starts downloading it using a single request, that is, a single download thread. However, sometimes we want to download the same file using multiple threads.
That is (and explaining in a simpler way) ...
We start to download a file using only 1 thread (path, request), and if for some reason we have some kind of speed restriction, or any limitation that our "nice and honest" ISP has decided to configure, we will have the limitation right there ... it will bother us until we cannot.
Meanwhile, if we use several download paths / threads (let's say 10 or more), well… we will see how the download speed is higher than what we would have had if only 1 thread had been used.
The problem is that wget does NOT support multi-threaded downloads, at least I haven't found a way to do this, and this is where it comes in Axel 😀
Axel allows you what wget does not, download the same file using several threads.
For example, to download: http://ftp.desdelinux.net/netbeans-7.1.2-ml-linux.sh we put in a terminal
- axel -n 10 http://ftp.desdelinux.net/netbeans-7.1.2-ml-linux.sh
An example screenshot:
Obviously, before using it you have to install it 😀
To do this, in distros such as Debian or based on it (Ubuntu, Mint, LMDE, SolusOS, etc.) it is installed with:
sudo apt-get install axel
sudo pacman -S axel
You can read the help of ax by putting:
And well here the post ends 🙂
I hope it has been useful 😀