How To Install knot-utils on Rocky Linux 8

In this tutorial we learn how to install knot-utils on Rocky Linux 8. knot-utils is DNS client utilities shipped with the Knot DNS server

Introduction

In this tutorial we learn how to install knot-utils on Rocky Linux 8.

What is knot-utils

The package contains DNS client utilities shipped with the Knot DNS server.

We can use yum or dnf to install knot-utils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install knot-utils.

Install knot-utils on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install knot-utils

Install knot-utils on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install knot-utils

How To Uninstall knot-utils on Rocky Linux 8

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

sudo dnf remove knot-utils

knot-utils Package Contents on Rocky Linux 8

/usr/bin/kdig
/usr/bin/khost
/usr/bin/knsec3hash
/usr/bin/knsupdate
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/68858fd1f0da6692a044aa852c11dd4f1806c4
/usr/lib/.build-id/45
/usr/lib/.build-id/45/0bf74e2612d5f162e9ec2a6aae37c47090f506
/usr/lib/.build-id/78
/usr/lib/.build-id/78/4778f37e8c8330739f77e11fb3a8ef161862c4
/usr/lib/.build-id/85
/usr/lib/.build-id/85/3cfdaf39462b567b4fd6117d929f4777e2fcd4
/usr/lib/.build-id/93
/usr/lib/.build-id/93/17272db7f2d6459ad7d24e8af4e991f278cfec
/usr/sbin/kxdpgun
/usr/share/man/man1/kdig.1.gz
/usr/share/man/man1/khost.1.gz
/usr/share/man/man1/knsec3hash.1.gz
/usr/share/man/man1/knsupdate.1.gz
/usr/share/man/man8/kxdpgun.8.gz

References

Summary

In this tutorial we learn how to install knot-utils on Rocky Linux 8 using yum and dnf.