Wget and Curl
Wget and Curl are simple command line tools that can be used to download files by using their direct links. While they do support pausing and resuming downloads, currently no functionality is available for multi-threaded downloads. Both wget and curl come pre-installed on most Linux distributions.
To download a file using wget and curl, run one of the following commands (replace URL):
$ curl “https://www.example.com/example.tar.gz”
To pause a file being downloaded using wget and curl, press <CTRL+C> key. To resume download, run one of the following commands:
$ curl -c “https://www.example.com/example.tar.gz”
Assuming that download links are stored in “links.txt” file, you can use one of the following commands to initiate batch downloads:
$ xargs -n 1 curl -O < links.txt
Wget and curl don’t support multiple connections to the same file. To see all available options for wget and curl, run one of the following commands:
$ curl --help
Axel is a command line download manager for Linux. Unlike wget and curl, it supports multi-connection downloads with ability to pause and resume them.
To install axel in Ubuntu, run the command below:
To download a file using axel, run the following command (replace URL):
Axel automatically creates a “.st” file when it initiates a download. You can pause an ongoing download by pressing <CTRL+C>. If both partially downloaded file and “.st” file exists in a folder, axel will automatically resume the previously interrupted download.
To create multiple connections when downloading a file, run a command in the following format (replace “4” with your own choice):
Axel does not support batch downloads. However, you can just loop through a links file using bash to download files one by one. Below is a small example:
To know more about all axel options, run the following command:
Aria2 is one of the best and full featured command line download managers available for Linux today. It supports multi-threaded downloads, batch downloads, pausing and resuming of downloads, and it can even download torrent files.
To install aria2 in Ubuntu, run the following command:
To download a file using aria2, run the following command:
To create multiple connections when downloading a file, run a command in following format (replace “4” with your own choice):
Assuming that download links are stored in “links.txt” file, you can use the following command to initiate batch downloads:
To know more about all aria2 options, run the command below:
Uget is a free, open source and cross-platform graphical download manager. Apart from multi-threaded and batch downloads, it also supports automatic clipboard monitoring, pausing and resuming of downloads, browser extensions, youtube video downloads, torrent files, scheduled downloads and so on.
To install uget in Ubuntu, run the command below:
You can now start using uget by launching the app from application launcher.
Xtreme Download Manager
Xtreme Download Manager is a full featured graphical download manager. Some of its features include ability to process batch downloads, multi-connection downloads, pausing and resuming of downloads, browser extensions, video streaming site downloads, scheduled downloads and so on.
You can download the xtreme download manager “.jar” file from here. Run the following command to launch it:
Persepolis Download Manager
Persepolis Download Manager is a GUI frontend for command line download manager aria2 (mentioned above). It is on feature parity with aria2 with some additional features such as scheduled downloads and built-in support for video downloads from streaming sites.
You can download persepolis download manager from here.
These are some of the download managers available for Linux that you can use to process downloads. Browser integration extensions for download managers are not as robust as they used to be, mainly because of stringent requirements by browsers and security concerns. To get a direct download link of a file, you can initiate a download in a browser and then immediately cancel it. Right clicking on a cancelled download will get you a direct download link.