How To Install odhcp6c on Fedora 36

In this tutorial we learn how to install odhcp6c in Fedora 36. odhcp6c is Embedded DHCPv6 and RA client

Introduction

In this tutorial we learn how to install odhcp6c on Fedora 36.

What is odhcp6c

odhcp6c is a minimal DHCPv6 and Router Advertisement client for use in embedded Linux systems, especially routers. It compiles to only about 35 KB.

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

Install odhcp6c on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install odhcp6c

Install odhcp6c on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install odhcp6c

How To Uninstall odhcp6c on Fedora 36

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

sudo dnf remove odhcp6c

odhcp6c Package Contents on Fedora 36

/etc/odhcp6c
/etc/odhcp6c/odhcp6c-example-script.sh
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/46883a33a36ef331e7860837ab7b5381b104aa
/usr/lib/systemd/system/[email protected]
/usr/sbin/odhcp6c
/usr/share/doc/odhcp6c
/usr/share/doc/odhcp6c/README
/usr/share/licenses/odhcp6c
/usr/share/licenses/odhcp6c/COPYING

References

Summary

In this tutorial we learn how to install odhcp6c on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).