How To Install dhcp-libs on CentOS 8

dhcp-libs is Shared libraries used by ISC dhcp client and server Shared libraries used by ISC dhcp client and server Shared libraries used by ISC dhcp client and server

Introduction

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

What is dhcp-libs

This package contains shared libraries used by ISC dhcp client and server dhcp-libs 12 4.3.6 44.0.1.el8 i686 153 k dhcp-4.3.6-44.0.1.el8.src.rpm baseos Shared libraries used by ISC dhcp client and server http ISC This package contains shared libraries used by ISC dhcp client and server dhcp-libs 12 4.3.6 44.0.1.el8 x86_64 148 k dhcp-4.3.6-44.0.1.el8.src.rpm baseos Shared libraries used by ISC dhcp client and server http ISC This package contains shared libraries used by ISC dhcp client and server

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

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

sudo dnf -y install dhcp-libs

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

sudo yum -y install dhcp-libs

How To Uninstall dhcp-libs on CentOS 8

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

sudo dnf remove dhcp-libs

dhcp-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/8405bea5a5fe6a9ff87eb480fc027971835e29
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/899cc9b5394c249ae1c48071ff6073d4fd8a48
/usr/lib64/libdhcpctl.so.0
/usr/lib64/libdhcpctl.so.0.0.0
/usr/lib64/libomapi.so.0
/usr/lib64/libomapi.so.0.0.0
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/ac458c30e3cfad69b38ad190d0007ed388a249
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/144156663d5ef7d43e7ab862526fe7e45da363
/usr/lib/libdhcpctl.so.0
/usr/lib/libdhcpctl.so.0.0.0
/usr/lib/libomapi.so.0
/usr/lib/libomapi.so.0.0.0

References

Summary

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