How To Install e2fsprogs-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install e2fsprogs-devel.x86_64 in Amazon Linux 2. e2fsprogs-devel.x86_64 is Ext2/3/4 filesystem-specific libraries and headers

Introduction

In this tutorial we learn how to install e2fsprogs-devel.x86_64 on Amazon Linux 2.

What is e2fsprogs-devel.x86_64

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 to install e2fsprogs-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install e2fsprogs-devel.x86_64.

Install e2fsprogs-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install e2fsprogs-devel.x86_64

How To Uninstall e2fsprogs-devel.x86_64 on Amazon Linux 2

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

sudo yum remove e2fsprogs-devel.x86_64

e2fsprogs-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/e2p
/usr/include/e2p/e2p.h
/usr/include/ext2fs
/usr/include/ext2fs/bitops.h
/usr/include/ext2fs/ext2_err.h
/usr/include/ext2fs/ext2_ext_attr.h
/usr/include/ext2fs/ext2_fs.h
/usr/include/ext2fs/ext2_io.h
/usr/include/ext2fs/ext2_types-x86_64.h
/usr/include/ext2fs/ext2_types.h
/usr/include/ext2fs/ext2fs.h
/usr/include/ext2fs/ext3_extents.h
/usr/include/ext2fs/qcow2.h
/usr/include/ext2fs/tdb.h
/usr/include/quota
/usr/include/quota/mkquota.h
/usr/lib64/libe2p.so
/usr/lib64/libext2fs.so
/usr/lib64/pkgconfig/e2p.pc
/usr/lib64/pkgconfig/ext2fs.pc
/usr/lib64/pkgconfig/quota.pc
/usr/share/info/libext2fs.info.gz

References

Summary

In this tutorial we learn how to install e2fsprogs-devel.x86_64 on Amazon Linux 2 using yum.