How To Install aria2 on Rocky Linux 8

In this tutorial we learn how to install aria2 on Rocky Linux 8. aria2 is High speed download utility with resuming and segmented downloading

Introduction

In this tutorial we learn how to install aria2 on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install aria2.

Install aria2 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install aria2

Install aria2 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install aria2

How To Uninstall aria2 on Rocky Linux 8

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

sudo dnf remove aria2

aria2 Package Contents on Rocky Linux 8

/usr/bin/aria2c
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/776abca06a9e7dc2bc4f4195aaff2370183105
/usr/share/doc/aria2
/usr/share/doc/aria2/AUTHORS
/usr/share/doc/aria2/COPYING
/usr/share/doc/aria2/ChangeLog
/usr/share/doc/aria2/README
/usr/share/locale/ar/LC_MESSAGES/aria2.mo
/usr/share/locale/bg/LC_MESSAGES/aria2.mo
/usr/share/locale/bn/LC_MESSAGES/aria2.mo
/usr/share/locale/ca/LC_MESSAGES/aria2.mo
/usr/share/locale/da/LC_MESSAGES/aria2.mo
/usr/share/locale/de/LC_MESSAGES/aria2.mo
/usr/share/locale/el/LC_MESSAGES/aria2.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/aria2.mo
/usr/share/locale/en@quot/LC_MESSAGES/aria2.mo
/usr/share/locale/es/LC_MESSAGES/aria2.mo
/usr/share/locale/fa/LC_MESSAGES/aria2.mo
/usr/share/locale/fi/LC_MESSAGES/aria2.mo
/usr/share/locale/fil/LC_MESSAGES/aria2.mo
/usr/share/locale/fr/LC_MESSAGES/aria2.mo
/usr/share/locale/he/LC_MESSAGES/aria2.mo
/usr/share/locale/hr/LC_MESSAGES/aria2.mo
/usr/share/locale/hu/LC_MESSAGES/aria2.mo
/usr/share/locale/id/LC_MESSAGES/aria2.mo
/usr/share/locale/it/LC_MESSAGES/aria2.mo
/usr/share/locale/ja/LC_MESSAGES/aria2.mo
/usr/share/locale/kk/LC_MESSAGES/aria2.mo
/usr/share/locale/ko/LC_MESSAGES/aria2.mo
/usr/share/locale/ms/LC_MESSAGES/aria2.mo
/usr/share/locale/nb/LC_MESSAGES/aria2.mo
/usr/share/locale/nl/LC_MESSAGES/aria2.mo
/usr/share/locale/nn/LC_MESSAGES/aria2.mo
/usr/share/locale/oc/LC_MESSAGES/aria2.mo
/usr/share/locale/pl/LC_MESSAGES/aria2.mo
/usr/share/locale/pt/LC_MESSAGES/aria2.mo
/usr/share/locale/pt_BR/LC_MESSAGES/aria2.mo
/usr/share/locale/ro/LC_MESSAGES/aria2.mo
/usr/share/locale/ru/LC_MESSAGES/aria2.mo
/usr/share/locale/sk/LC_MESSAGES/aria2.mo
/usr/share/locale/sr/LC_MESSAGES/aria2.mo
/usr/share/locale/sv/LC_MESSAGES/aria2.mo
/usr/share/locale/th/LC_MESSAGES/aria2.mo
/usr/share/locale/tr/LC_MESSAGES/aria2.mo
/usr/share/locale/uk/LC_MESSAGES/aria2.mo
/usr/share/locale/vi/LC_MESSAGES/aria2.mo
/usr/share/locale/zh_CN/LC_MESSAGES/aria2.mo
/usr/share/locale/zh_HK/LC_MESSAGES/aria2.mo
/usr/share/locale/zh_TW/LC_MESSAGES/aria2.mo
/usr/share/man/man1/aria2c.1.gz
/usr/share/man/pt/man1/aria2c.1.gz
/usr/share/man/ru/man1/aria2c.1.gz

References

Summary

In this tutorial we learn how to install aria2 on Rocky Linux 8 using yum and dnf.