How To Install unbound-libs on Rocky Linux 8

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

Introduction

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

What is unbound-libs

Contains libraries used by the unbound server and client applications

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

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

sudo dnf -y install unbound-libs

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

sudo yum -y install unbound-libs

How To Uninstall unbound-libs on Rocky Linux 8

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

sudo dnf remove unbound-libs

unbound-libs Package Contents on Rocky Linux 8

/etc/unbound
/etc/unbound/icannbundle.pem
/etc/unbound/root.key
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/b47fe045d32aa698bb001b18861ae635455e96
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/e944e8fdfbb7575cebaeb26cd65caf6cf3ffd2
/usr/lib/systemd/system/unbound-anchor.service
/usr/lib/systemd/system/unbound-anchor.timer
/usr/lib64/libunbound.so.2
/usr/lib64/libunbound.so.2.5.11
/usr/sbin/unbound-anchor
/usr/share/doc/unbound-libs
/usr/share/doc/unbound-libs/README
/usr/share/licenses/unbound-libs
/usr/share/licenses/unbound-libs/LICENSE
/usr/share/man/man8/unbound-anchor.8.gz
/var/lib/unbound
/var/lib/unbound/root.key
/etc/unbound
/etc/unbound/icannbundle.pem
/etc/unbound/root.key
/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/6c5b344392761e8f6ec97086bb2ce5b7c4ff3c
/usr/lib/.build-id/92
/usr/lib/.build-id/92/0f2b25acaf06afdd9d29ba86031d8c38c663e9
/usr/lib/libunbound.so.2
/usr/lib/libunbound.so.2.5.11
/usr/lib/systemd/system/unbound-anchor.service
/usr/lib/systemd/system/unbound-anchor.timer
/usr/sbin/unbound-anchor
/usr/share/doc/unbound-libs
/usr/share/doc/unbound-libs/README
/usr/share/licenses/unbound-libs
/usr/share/licenses/unbound-libs/LICENSE
/usr/share/man/man8/unbound-anchor.8.gz
/var/lib/unbound
/var/lib/unbound/root.key

References

Summary

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