How To Install e2fsprogs-devel on CentOS 7

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

Introduction

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

What is e2fsprogs-devel

E2fsprogs-devel contains the libraries and header files needed to develop second, third and fourth extended (ext2/ext3/ext4) filesystem-specific programs. You should install e2fsprogs-devel if you want to develop ext2/3/4 filesystem-specific programs. If you install e2fsprogs-devel, you’ll also want to install e2fsprogs. E2fsprogs-devel contains the libraries and header files needed to develop second, third and fourth extended (ext2/ext3/ext4) filesystem-specific programs. You should install e2fsprogs-devel if you want to develop ext2/3/4 filesystem-specific programs. If you install e2fsprogs-devel, you’ll also want to install e2fsprogs.

We can use yum or dnf to install e2fsprogs-devel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install e2fsprogs-devel.

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

sudo yum -y install e2fsprogs-devel

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

sudo dnf -y install e2fsprogs-devel

How To Uninstall e2fsprogs-devel on CentOS 7

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

sudo dnf remove e2fsprogs-devel

References

Summary

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