AXEL – multi-threaded downloads

What is Axel?

When you want to download something from the command line you normally use the commands wget or curl.

What if you want to accelerate these downloads? I recently found this command: Axel, works the same way but allows you to use multiple connections for one file.
As a comparison, the mozilla extension DownThemAll does the same thing in a graphical environment. Axel can also use mutliple mirrors for a download and according to tests done by the Github author this can speed up downloads up to 60%!.

 

Axel has no dependencies, is lightweight, supports HTTP, HTTPS, FTP and FTPS protocols and unlike other similar programs, it downloads all the data directly to the destination file using a single thread., saving time at the end because the program does not ave to concatenate the downloaded parts. It is also available in the Debian repo

 

If you take a look at the options available, you see that you use it the same way as you would use wget.

Axel in its simplest use:

Common options include

to prevent the app chewing up all your bandwidth and

to specify a number of connections (the recommended default of 4 is fine for most downloads).

 

Passing in multiple URLs allows downloading of the same file from multiple locations.

Summation

Axel is great command line tool, but what if you want a GUI download manager with similar features? Check out uGet, which also includes accelerated downloads, clipboard monitoring, browser integration queuing support and many more features!

Download Manager for for Linux, BSD, Android, and Windows.

 

3 comments for “AXEL – multi-threaded downloads

  1. March 23, 2017 at 19:39

    and aria2c does bittorrent as well and has an rpc interface that you can then use https://ziahamza.github.io/webui-aria2/# to access.

    Seems these two have been going at it for a while, axel or aria2c, they both get the job done, if you happen to need to source a file from a torrent swarm aria2c has your back 😉

  2. August 27, 2017 at 21:47

    Awesome tool. Multithreaded download was always a hope for cli users, after reading it everything seems to be possible. Now I can safely download in bulk.

  3. October 3, 2017 at 09:45

Leave a Reply

Your email address will not be published. Required fields are marked *