How To Install libblockdev-nvdimm on Rocky Linux 8

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

Introduction

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

What is libblockdev-nvdimm

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

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

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

sudo dnf -y install libblockdev-nvdimm

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

sudo yum -y install libblockdev-nvdimm

How To Uninstall libblockdev-nvdimm on Rocky Linux 8

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

sudo dnf remove libblockdev-nvdimm

libblockdev-nvdimm Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/95da8bfb5f37d4abfae356cdfae3762bb75fc8
/usr/lib/libbd_nvdimm.so.2
/usr/lib/libbd_nvdimm.so.2.0.0
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/ef9a4f3e9eac1f18124daf264b9fd3f256b429
/usr/lib64/libbd_nvdimm.so.2
/usr/lib64/libbd_nvdimm.so.2.0.0

References

Summary

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