How To Install libblockdev-fs on Rocky Linux 8

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

Introduction

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

What is libblockdev-fs

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

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

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

sudo dnf -y install libblockdev-fs

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

sudo yum -y install libblockdev-fs

How To Uninstall libblockdev-fs on Rocky Linux 8

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

sudo dnf remove libblockdev-fs

libblockdev-fs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/90d4cf7ba1a1d062ba62bfd329787dea43ec6c
/usr/lib64/libbd_fs.so.2
/usr/lib64/libbd_fs.so.2.0.0
/usr/lib/.build-id
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/dda6599f686a76d23133be5ec9e52b2ecbf138
/usr/lib/libbd_fs.so.2
/usr/lib/libbd_fs.so.2.0.0

References

Summary

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