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.
Install aria2
Make sure the package lists are up-to-date:
sudo apt update
Install aria2:
sudo apt install -y aria2
After the installation is completed, aria2 will be available as aria2c
command. We can check version:
aria2c --version
Testing aria2
To download a file, run the aria2c
command and provide URL as argument:
aria2c http://ipv4.download.thinkbroadband.com/100MB.zip
The -o
option allows to specify the filename for downloaded file.
aria2c -o test.zip http://ipv4.download.thinkbroadband.com/100MB.zip
Uninstall aria2
If you want to completely remove aria2 and related dependencies, execute the following command:
sudo apt purge --autoremove -y aria2
Leave a Comment
Cancel reply