How To Install radvd on Fedora 34

radvd is A Router Advertisement daemon

Introduction

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

What is radvd

radvd is the router advertisement daemon for IPv6. It listens to router solicitations and sends router advertisements as described in “Neighbor Discovery for IP Version 6 (IPv6)” (RFC 2461). With these advertisements hosts can automatically configure their addresses and some other parameters. They also can choose a default router based on these advertisements. Install radvd if you are setting up IPv6 network and/or Mobile IPv6 services.

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

Install radvd 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 radvd using dnf by running the following command:

sudo dnf -y install radvd

Install radvd 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 radvd using yum by running the following command:

sudo yum -y install radvd

How To Uninstall radvd on Fedora 34

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

sudo dnf remove radvd

radvd Package Contents on Fedora 34

/etc/radvd.conf
/etc/sysconfig/radvd
/run/radvd
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/fc67239949b32e33247d77f6264b345e385b23
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/031094423d6e5d578a4c5ee195b2577fe114c3
/usr/lib/systemd/system/radvd.service
/usr/lib/tmpfiles.d/radvd.conf
/usr/sbin/radvd
/usr/sbin/radvdump
/usr/share/doc/radvd
/usr/share/doc/radvd/CHANGES
/usr/share/doc/radvd/COPYRIGHT
/usr/share/doc/radvd/INTRO.html
/usr/share/doc/radvd/README
/usr/share/doc/radvd/TODO
/usr/share/doc/radvd/radvd.conf.example
/usr/share/man/man5/radvd.conf.5.gz
/usr/share/man/man8/radvd.8.gz
/usr/share/man/man8/radvdump.8.gz

References

Summary

In this tutorial we learn how to install radvd on Fedora 34 using yum and dnf.