How To Install e2fsprogs-libs on Rocky Linux 8

In this tutorial we learn how to install e2fsprogs-libs on Rocky Linux 8. e2fsprogs-libs is Ext2/3/4 file system specific shared libraries

Introduction

In this tutorial we learn how to install e2fsprogs-libs on Rocky Linux 8.

What is e2fsprogs-libs

E2fsprogs-libs contains libe2p and libext2fs, the libraries of the e2fsprogs package. These libraries are used to directly access ext2/3/4 file systems from user space.

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

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

sudo dnf -y install e2fsprogs-libs

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

sudo yum -y install e2fsprogs-libs

How To Uninstall e2fsprogs-libs on Rocky Linux 8

To uninstall only the e2fsprogs-libs package we can use the following command:

sudo dnf remove e2fsprogs-libs

e2fsprogs-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/30/f45d57726f3dd84d6b28aafd6161ab4cb03c59
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/9020b968d023af6857ded6e14e323506457987
/usr/lib/libe2p.so.2
/usr/lib/libe2p.so.2.3
/usr/lib/libext2fs.so.2
/usr/lib/libext2fs.so.2.4
/usr/share/licenses/e2fsprogs-libs
/usr/share/licenses/e2fsprogs-libs/NOTICE
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/4c5a147934fb168fa488eadbd021ad52307bd2
/usr/lib/.build-id/83
/usr/lib/.build-id/83/fbc9f599d6d8e863055e8199555be6cdb4373e
/usr/lib64/libe2p.so.2
/usr/lib64/libe2p.so.2.3
/usr/lib64/libext2fs.so.2
/usr/lib64/libext2fs.so.2.4
/usr/share/licenses/e2fsprogs-libs
/usr/share/licenses/e2fsprogs-libs/NOTICE

References

Summary

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