How To Install e2fsprogs-libs on CentOS 7

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

Introduction

In this tutorial we learn how to install e2fsprogs-libs on CentOS 7.

What is e2fsprogs-libs

E2fsprogs-libs contains libe2p and libext2fs, the libraries of the e2fsprogs package. These libraries are used to directly acccess ext2/3/4 filesystems from userspace. E2fsprogs-libs contains libe2p and libext2fs, the libraries of the e2fsprogs package. These libraries are used to directly acccess ext2/3/4 filesystems from userspace.

We can use yum or dnf to install e2fsprogs-libs on CentOS 7. 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 7 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 7 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 7

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 7 using yum and dnf.