How To Install e2fsprogs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install e2fsprogs.x86_64 in Amazon Linux 2. e2fsprogs.x86_64 is Utilities for managing ext2, ext3, and ext4 filesystems

Introduction

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

What is e2fsprogs.x86_64

The e2fsprogs package contains a number of utilities for creating, checking, modifying, and correcting any inconsistencies in second, third and fourth extended (ext2/ext3/ext4) filesystems. E2fsprogs contains e2fsck (used to repair filesystem inconsistencies after an unclean shutdown), mke2fs (used to initialize a partition to contain an empty ext2 filesystem), debugfs (used to examine the internal structure of a filesystem, to manually repair a corrupted filesystem, or to create test cases for e2fsck), tune2fs (used to modify filesystem parameters), and most of the other core ext2fs filesystem utilities. You should install the e2fsprogs package if you need to manage the performance of an ext2, ext3, or ext4 filesystem.

We can use yum to install e2fsprogs.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.x86_64.

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

sudo yum -y install e2fsprogs.x86_64

How To Uninstall e2fsprogs.x86_64 on Amazon Linux 2

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

sudo yum remove e2fsprogs.x86_64

e2fsprogs.x86_64 Package Contents on Amazon Linux 2

/etc/e2fsck.conf
/etc/mke2fs.conf
/usr/bin/chattr
/usr/bin/lsattr
/usr/sbin/badblocks
/usr/sbin/debugfs
/usr/sbin/dumpe2fs
/usr/sbin/e2freefrag
/usr/sbin/e2fsck
/usr/sbin/e2image
/usr/sbin/e2label
/usr/sbin/e2undo
/usr/sbin/e4defrag
/usr/sbin/filefrag
/usr/sbin/fsck.ext2
/usr/sbin/fsck.ext3
/usr/sbin/fsck.ext4
/usr/sbin/logsave
/usr/sbin/mke2fs
/usr/sbin/mkfs.ext2
/usr/sbin/mkfs.ext3
/usr/sbin/mkfs.ext4
/usr/sbin/mklost+found
/usr/sbin/resize2fs
/usr/sbin/tune2fs
/usr/share/doc/e2fsprogs-1.42.9
/usr/share/doc/e2fsprogs-1.42.9/COPYING
/usr/share/doc/e2fsprogs-1.42.9/README
/usr/share/doc/e2fsprogs-1.42.9/RELEASE-NOTES
/usr/share/locale/ca/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/cs/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/de/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/es/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/fr/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/id/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/it/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/nl/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/pl/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/sv/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/tr/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/vi/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/zh_CN/LC_MESSAGES/e2fsprogs.mo
/usr/share/man/man1/chattr.1.gz
/usr/share/man/man1/lsattr.1.gz
/usr/share/man/man5/e2fsck.conf.5.gz
/usr/share/man/man5/ext2.5.gz
/usr/share/man/man5/ext3.5.gz
/usr/share/man/man5/ext4.5.gz
/usr/share/man/man5/mke2fs.conf.5.gz
/usr/share/man/man8/badblocks.8.gz
/usr/share/man/man8/debugfs.8.gz
/usr/share/man/man8/dumpe2fs.8.gz
/usr/share/man/man8/e2freefrag.8.gz
/usr/share/man/man8/e2fsck.8.gz
/usr/share/man/man8/e2image.8.gz
/usr/share/man/man8/e2label.8.gz
/usr/share/man/man8/e2undo.8.gz
/usr/share/man/man8/e4defrag.8.gz
/usr/share/man/man8/filefrag.8.gz
/usr/share/man/man8/fsck.ext2.8.gz
/usr/share/man/man8/fsck.ext3.8.gz
/usr/share/man/man8/fsck.ext4.8.gz
/usr/share/man/man8/logsave.8.gz
/usr/share/man/man8/mke2fs.8.gz
/usr/share/man/man8/mkfs.ext2.8.gz
/usr/share/man/man8/mkfs.ext3.8.gz
/usr/share/man/man8/mkfs.ext4.8.gz
/usr/share/man/man8/mklost+found.8.gz
/usr/share/man/man8/resize2fs.8.gz
/usr/share/man/man8/tune2fs.8.gz

References

Summary

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