aria2 is a lightweight and efficient command-line download tool.
It can be called a downloading weapon!
Introduction
Lightweight, efficient, command-line
aria2 is a lightweight and efficient command-line download tool. It provides support for multiple protocols and multiple source addresses, and attempts to maximize download bandwidth utilization. Currently supported protocols include HTTP(S), FTP, BitTorrent (DHT, PEX, MSE/PE), and Metalink. Through Metalink's chunk verification, aria2 can automatically perform data verification during the download process.
Although there are other similar products such as wget and curl, aria2 has two unique features: support for concurrent downloads of multiple protocols and downloads from multiple source addresses. This means that users do not have to wait for the download of a single file to complete, and aria2 will download as fast as possible.
# Ubuntu
$ sudo apt-get install aria2
# CentOS
$ sudo yum install aria2
In addition to aria2, there are also some tools that can perform segmented downloads. They often divide files according to the number of threads and then download them in parallel. This means that they do not adaptively re-segment unfinished parts. When the entire process works properly, this strategy is feasible; but once a thread runs very slowly, the entire process needs to wait for that thread to complete. However, aria2 can handle this situation well. It splits the file into 1MB-sized segments, and when a thread runs particularly slowly, it replaces it with a faster thread for downloading. In short, aria2 is very intelligent and reliable.
When the source address contains special characters such as & or *, please enclose the URL in single or double quotes. Also, if you forget the full name or meaning of these parameters, put -h in front of the option or word, and aria2 will search for related options and print its help.
Official documentation address: https://aria2.github.io/manual/en/html/index.html