How To Install e2fsprogs-libs on CentOS 8

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

Introduction

In this tutorial we learn how to install e2fsprogs-libs on CentOS 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. 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 CentOS 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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install e2fsprogs-libs using yum by running the following command:

sudo yum -y install e2fsprogs-libs

Install e2fsprogs-libs on CentOS 8 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install e2fsprogs-libs using dnf by running the following command:

sudo dnf -y install e2fsprogs-libs

How To Uninstall e2fsprogs-libs on CentOS 8

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

sudo dnf remove e2fsprogs-libs

References

Summary

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