How To Install aria2 on CentOS 7

In this tutorial we learn how to install aria2 on CentOS 7. aria2 is High speed download utility with resuming and segmented

Introduction

In this tutorial we learn how to install aria2 on CentOS 7.

What is aria2

aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0. Currently it has following features - HTTP/HTTPS GET support - HTTP Proxy support - HTTP BASIC authentication support - HTTP Proxy authentication support - FTP support(active, passive mode) - FTP through HTTP proxy(GET command or tunneling) - Segmented download - Cookie support - It can run as a daemon process. - BitTorrent protocol support with fast extension. - Selective download in multi-file torrent - Metalink version 3.0 support(HTTP/FTP/BitTorrent). - Limiting download/upload speed

We can use yum or dnf to install aria2 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install aria2.

Install aria2 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install aria2 using yum by running the following command:

sudo yum -y install aria2

Install aria2 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install aria2 using dnf by running the following command:

sudo dnf -y install aria2

How To Uninstall aria2 on CentOS 7

To uninstall only the aria2 package we can use the following command:

sudo dnf remove aria2

References

Summary

In this tutorial we learn how to install aria2 on CentOS 7 using yum and dnf.