Install axel download accelerator for Ubuntu Linux. How to use axel downloader on Ubuntu Systems. Axel is a command line download accelerator for Linux Ubuntu Systems. Axel enables faster apt-get installations and upgrades.
Axel
A light download accelerator for Linux. Axel is a program that downloads a file from a FTP or HTTP server through multiple connection, each connection downloads its own part of the file. Unlike most other programs, Axel downloads all the data directly to the destination file, using one single thread. It just saves some time at the end because the program doesn’t have to concatenate all the downloaded parts.
axel [OPTIONS] url1 [url2] [url…]
The program returns 0 when the download was successful, 1 if something really went wrong and 2 if the download was interrupted. If something else comes back, it must be a bug.
One argument is required, the URL to the file you want to download. When downloadingfrom FTP, the filename may contain wildcards and the program will try to resolve the full filename. Multiple URL’s can be specified as well and the program will use all those URL’s for the download. Please note that the program does not check whether the files are equal.
Install Axel On Ubuntu
The axel download accelerator can be installed on Ubuntu Linux. Run the following commands to install axel download accelerator:
sudo apt-get install axel
Usage: axel [options] url1 [url2] [url…]
Options:
- –max-speed=x -s x Specify maximum speed (bytes per second)
- –num-connections=x -n x Specify maximum number of connections
- –output=f -o f Specify local output file
- –search[=x] -S [x] Search for mirrors and download from x servers
- –header=x -H x Add header string
- –user-agent=x -U x Set user agent
- –no-proxy -N Just don’t use any proxy server
- –quiet -q Leave stdout alone
- –verbose -v More status information
- –alternate -a Alternate progress indicator
- –help -h This information
- –version -V Version information
Usage Examples:
Like wget command we can use the axel command in terminal. The following example shows how to use axel to download files (see sceenshot above).
Download files with max speed of bit rates set to 102,400 bytes/sec (100Kb/s)
axel -s 102400 https://sourcedigit.com/wp-content/uploads/2016/07/papirus-theme.jpg
Similarly, we can use the axel command in the following manners also:
axel ftp://ftp.{be,nl,uk,de}.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2
This will use the Belgian, Dutch, English and German kernel.org mirrors to download a Linux 2.4.17 kernel image.
axel -S4 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2
This will do a search for the linux-2.4.17.tar.bz2 file on filesearching.com and it’ll use the four (if possible) fastest mirrors for the download. (Possibly including ftp.kernel.org) (Of course, the commands are a single line, but they’re too long to fit on one line in this page.)