How To Install aria2 on Fedora 34

aria2 is High speed download utility with resuming and segmented downloading

Introduction

In this tutorial we learn how to install aria2 on Fedora 34.

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

Install aria2 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install aria2

Install aria2 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove aria2

aria2 Package Contents on Fedora 34

/usr/bin/aria2c
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/7d60a22dc7ad9513a726f129ee0ac4d1db3698
/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 Fedora 34 using yum and dnf.