The aria2 is a tool which allows to donwload files via command line using various protocols such as HTTP, HTTPS, FTP, SFTP, BitTorrent, and Metalink. This tool resumes incomplete download where it stopped.
This tutorial explains how to install aria2 on Ubuntu 20.04.
Make sure the package lists are up-to-date:
sudo apt update
sudo apt install -y aria2
After the installation is completed, aria2 will be available as
aria2c command. We can check version:
To download a file, run the
aria2c command and provide URL as argument:
-o option allows to specify the filename for downloaded file.
aria2c -o test.zip http://ipv4.download.thinkbroadband.com/100MB.zip
If you want to completely remove aria2 and related dependencies, execute the following command:
sudo apt purge --autoremove -y aria2