How To Install dnsmasq-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install dnsmasq-utils.x86_64 in Amazon Linux 2. dnsmasq-utils.x86_64 is Utilities for manipulating DHCP server leases

Introduction

In this tutorial we learn how to install dnsmasq-utils.x86_64 on Amazon Linux 2.

What is dnsmasq-utils.x86_64

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

We can use yum to install dnsmasq-utils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dnsmasq-utils.x86_64.

Install dnsmasq-utils.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dnsmasq-utils.x86_64 using yum by running the following command:

sudo yum -y install dnsmasq-utils.x86_64

How To Uninstall dnsmasq-utils.x86_64 on Amazon Linux 2

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

sudo yum remove dnsmasq-utils.x86_64

dnsmasq-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/dhcp_lease_time
/usr/bin/dhcp_release
/usr/bin/dhcp_release6
/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.x86_64 on Amazon Linux 2 using yum.