Recently, I need to download the dataset to my remote servers. Clearly, I do not want to download to my local machine. So initially I choose wget as I previous did. Soon after I find wget is too slow. Then I ask ChatGPT. It recommends aria2.

Official Page: aria2

The greatest advantage is it can establish parallel connections simultaneously to speed up the download. We can use

sudo apt install aria2 

to install on Ubuntu.

Basic Usage

Download from online sources

aria2c http://example.org/mylinux.iso

Download from multiple sources

aria2c http://a/f.iso ftp://b/f.iso

Specify connection numbers (-x NUM)

aria2c -x 2 http://a/f.iso

It can also be used to resolve torrent, magnetic link or download from text files (-i). We will elaborate on them if used in the future.

In summary, it seems that aria2 is a power tool to replace wget.