How To Install bind-libs on CentOS 8

bind-libs is Libraries used by the BIND DNS packages Libraries used by the BIND DNS packages

Introduction

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

What is bind-libs

Contains heavyweight version of BIND suite libraries used by both named DNS server and utilities in bind-utils package. bind-libs 32 9.11.26 4.el8_4 x86_64 174 k bind-9.11.26-4.el8_4.src.rpm appstream Libraries used by the BIND DNS packages https MPLv2.0 Contains heavyweight version of BIND suite libraries used by both named DNS server and utilities in bind-utils package.

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

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

sudo dnf -y install bind-libs

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

sudo yum -y install bind-libs

How To Uninstall bind-libs on CentOS 8

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

sudo dnf remove bind-libs

bind-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/5648341aa7e2ca6782c8fbc704617007c85b81
/usr/lib/.build-id/20
/usr/lib/.build-id/20/da4d10af690cabb06538189ec0573771a737cc
/usr/lib/.build-id/82
/usr/lib/.build-id/82/2face2efbcf94765c00ffe0c4607f917e8ac0a
/usr/lib64/libbind9.so.161
/usr/lib64/libbind9.so.161.0.4
/usr/lib64/libisccc.so.161
/usr/lib64/libisccc.so.161.0.1
/usr/lib64/liblwres.so.161
/usr/lib64/liblwres.so.161.0.4
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/2490afbd772e7bd19bddd60bba36e42d765c0f
/usr/lib/.build-id/4c/83b97bc453fb1dbd3a27db0c9361baa1f8d12e
/usr/lib/.build-id/69
/usr/lib/.build-id/69/6cc62fb55dd69aac8e170ec37f50dd25590071
/usr/lib/libbind9.so.161
/usr/lib/libbind9.so.161.0.4
/usr/lib/libisccc.so.161
/usr/lib/libisccc.so.161.0.1
/usr/lib/liblwres.so.161
/usr/lib/liblwres.so.161.0.4
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/217ad386c4a0e026b70f82d4ec4610687a10c9
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/5de13c08778f6dead92b21f21425d0d30b893a
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/67f5514ac9d04526472938f534b9950601b784
/usr/lib/libbind9.so.161
/usr/lib/libbind9.so.161.0.4
/usr/lib/libisccc.so.161
/usr/lib/libisccc.so.161.0.1
/usr/lib/liblwres.so.161
/usr/lib/liblwres.so.161.0.4
/usr/lib/.build-id
/usr/lib/.build-id/54/36305f052f277f6aa5626289369e47f7650c76
/usr/lib/.build-id/65
/usr/lib/.build-id/65/ba32e208007eca80f5aed067cc9fc7f9e6582d
/usr/lib/.build-id/9e/f4cd0dcc22624397c3ac0276c743ddbf64cc33
/usr/lib64/libbind9.so.161
/usr/lib64/libbind9.so.161.0.4
/usr/lib64/libisccc.so.161
/usr/lib64/libisccc.so.161.0.1
/usr/lib64/liblwres.so.161
/usr/lib64/liblwres.so.161.0.4

References

Summary

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