How To Install dnsmasq-utils on Fedora 36

In this tutorial we learn how to install dnsmasq-utils in Fedora 36. dnsmasq-utils is Utilities for manipulating DHCP server leases

Introduction

In this tutorial we learn how to install dnsmasq-utils on Fedora 36.

What is dnsmasq-utils

Utilities that use the standard DHCP protocol to query/remove a DHCP server’s leases.

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

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

sudo dnf -y install dnsmasq-utils

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

sudo yum -y install dnsmasq-utils

How To Uninstall dnsmasq-utils on Fedora 36

To uninstall only the dnsmasq-utils package we can use the following command:

sudo dnf remove dnsmasq-utils

dnsmasq-utils Package Contents on Fedora 36

/usr/bin/dhcp_lease_time
/usr/bin/dhcp_release
/usr/bin/dhcp_release6
/usr/lib/.build-id
/usr/lib/.build-id/77
/usr/lib/.build-id/77/36539e43723cfba196ac8527593e6641595146
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/fb970ccc519911b06f29e83cda7984e0cbc6b8
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/b4898946156fc5e201f484fc3c8711dc0aa3a1
/usr/share/licenses/dnsmasq-utils
/usr/share/licenses/dnsmasq-utils/COPYING
/usr/share/licenses/dnsmasq-utils/COPYING-v3
/usr/share/man/man1/dhcp_lease_time.1.gz
/usr/share/man/man1/dhcp_release.1.gz
/usr/share/man/man1/dhcp_release6.1.gz

References

Summary

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