How To Install unbound-libs on CentOS 8

unbound-libs is Libraries used by the unbound server and client applications Libraries used by the unbound server and client applications

Introduction

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

What is unbound-libs

Contains libraries used by the unbound server and client applications unbound-libs 1.7.3 15.el8 x86_64 503 k unbound-1.7.3-15.el8.src.rpm appstream Libraries used by the unbound server and client applications https BSD Contains libraries used by the unbound server and client applications

We can use yum or dnf to install unbound-libs on CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove unbound-libs

unbound-libs Package Contents on CentOS 8

/etc/unbound
/etc/unbound/icannbundle.pem
/etc/unbound/root.key
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/b6300954b2e195d222a95265ed31f405aa2f74
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/a35e99e1a6de8f6a92697cb94850c4c19e0c23
/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
/etc/unbound
/etc/unbound/icannbundle.pem
/etc/unbound/root.key
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/88d88bbd2145e33291c82e6dc99de8636d0a78
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/adcb5e76e873518a4dea29e8e21715bc8137a1
/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

References

Summary

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