How To Install libblockdev-mpath on Rocky Linux 8

In this tutorial we learn how to install libblockdev-mpath on Rocky Linux 8. libblockdev-mpath is The multipath plugin for the libblockdev library

Introduction

In this tutorial we learn how to install libblockdev-mpath on Rocky Linux 8.

What is libblockdev-mpath

The libblockdev library plugin (and in the same time a standalone library) providing the functionality related to multipath devices.

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

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

sudo dnf -y install libblockdev-mpath

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

sudo yum -y install libblockdev-mpath

How To Uninstall libblockdev-mpath on Rocky Linux 8

To uninstall only the libblockdev-mpath package we can use the following command:

sudo dnf remove libblockdev-mpath

libblockdev-mpath Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/802066ec1000b6b1da2eb00ed7b390916d6b0e
/usr/lib/libbd_mpath.so.2
/usr/lib/libbd_mpath.so.2.0.0
/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/87cf3df7e47362016496a49c127166bde85334
/usr/lib64/libbd_mpath.so.2
/usr/lib64/libbd_mpath.so.2.0.0

References

Summary

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