How To Install dlm-lib on CentOS 8

dlm-lib is Library for dlm Library for dlm

Introduction

In this tutorial we learn how to install dlm-lib on CentOS 8.

What is dlm-lib

The dlm-lib package contains the libraries needed to use the dlm from userland applications. dlm-lib 4.1.0 1.el8 x86_64 34 k dlm-4.1.0-1.el8.src.rpm baseos Library for dlm https GPLv2 and GPLv2+ and LGPLv2+ The dlm-lib package contains the libraries needed to use the dlm from userland applications.

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

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

sudo dnf -y install dlm-lib

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

sudo yum -y install dlm-lib

How To Uninstall dlm-lib on CentOS 8

To uninstall only the dlm-lib package we can use the following command:

sudo dnf remove dlm-lib

dlm-lib Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/741852977326b0cb8cd68ea8c0efacca42bf3d
/usr/lib/.build-id/84
/usr/lib/.build-id/84/96b5efb163d3e0c74297c8b66f9c3e97fa9df0
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/ed48c9894e75d445fa237f16e96bceecf9cfbd
/usr/lib/libdlm.so.3
/usr/lib/libdlm.so.3.0
/usr/lib/libdlm_lt.so.3
/usr/lib/libdlm_lt.so.3.0
/usr/lib/libdlmcontrol.so.3
/usr/lib/libdlmcontrol.so.3.2
/usr/lib/udev/rules.d/51-dlm.rules
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/fbc2e87a43722dfe65db756ae07f8d6cb728d4
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/6e08804e1dbb775c04852d341e2b945e643cc8
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/7a711ffc0a9f3ea043172a612972b6d622a035
/usr/lib/udev/rules.d/51-dlm.rules
/usr/lib64/libdlm.so.3
/usr/lib64/libdlm.so.3.0
/usr/lib64/libdlm_lt.so.3
/usr/lib64/libdlm_lt.so.3.0
/usr/lib64/libdlmcontrol.so.3
/usr/lib64/libdlmcontrol.so.3.2

References

Summary

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