How To Install knot-libs on Rocky Linux 8

In this tutorial we learn how to install knot-libs on Rocky Linux 8. knot-libs is Libraries used by the Knot DNS server and client applications

Introduction

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

What is knot-libs

The package contains shared libraries used by the Knot DNS server and utilities.

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

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

sudo dnf -y install knot-libs

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

sudo yum -y install knot-libs

How To Uninstall knot-libs on Rocky Linux 8

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

sudo dnf remove knot-libs

knot-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/b17f7aca4ef7af5bf9b325183ce8a4e19155e3
/usr/lib/.build-id/71
/usr/lib/.build-id/71/bc84f7ca12c2297b235ae21b56762434bf14f2
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/a19c4663bccebc5b3a73fbc31742c034f1f5da
/usr/lib64/libdnssec.so.8
/usr/lib64/libdnssec.so.8.0.0
/usr/lib64/libknot.so.11
/usr/lib64/libknot.so.11.0.0
/usr/lib64/libzscanner.so.3
/usr/lib64/libzscanner.so.3.0.0
/usr/share/doc/knot-libs
/usr/share/doc/knot-libs/NEWS
/usr/share/doc/knot-libs/README.md
/usr/share/licenses/knot-libs
/usr/share/licenses/knot-libs/COPYING

References

Summary

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