How To Install libdmmp on Rocky Linux 8

In this tutorial we learn how to install libdmmp on Rocky Linux 8. libdmmp is device-mapper-multipath C API library

Introduction

In this tutorial we learn how to install libdmmp on Rocky Linux 8.

What is libdmmp

This package contains the shared library for the device-mapper-multipath C API library.

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

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

sudo dnf -y install libdmmp

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

sudo yum -y install libdmmp

How To Uninstall libdmmp on Rocky Linux 8

To uninstall only the libdmmp package we can use the following command:

sudo dnf remove libdmmp

libdmmp Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/42669f4efb5e95509f7c6a8edb5443d8c2f811
/usr/lib64/libdmmp.so.0.2.0
/usr/share/doc/libdmmp
/usr/share/doc/libdmmp/GPL-3.0
/usr/share/doc/libdmmp/README
/usr/lib/.build-id
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/a8440c8a39e28afe84fcc4c7f118acc4773321
/usr/lib/libdmmp.so.0.2.0
/usr/share/doc/libdmmp
/usr/share/doc/libdmmp/GPL-3.0
/usr/share/doc/libdmmp/README

References

Summary

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