How To Install e2fsprogs on Rocky Linux 8

In this tutorial we learn how to install e2fsprogs on Rocky Linux 8. e2fsprogs is Utilities for managing ext2, ext3, and ext4 file systems

Introduction

In this tutorial we learn how to install e2fsprogs on Rocky Linux 8.

What is e2fsprogs

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) file systems. E2fsprogs contains e2fsck (used to repair file system inconsistencies after an unclean shutdown), mke2fs (used to initialize a partition to contain an empty ext2 file system), debugfs (used to examine the internal structure of a file system, to manually repair a corrupted file system, or to create test cases for e2fsck), tune2fs (used to modify file system parameters), and most of the other core ext2fs file system utilities. You should install the e2fsprogs package if you need to manage the performance of an ext2, ext3, or ext4 file system.

We can use yum or dnf to install e2fsprogs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install e2fsprogs.

Install e2fsprogs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install e2fsprogs

Install e2fsprogs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install e2fsprogs

How To Uninstall e2fsprogs on Rocky Linux 8

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

sudo dnf remove e2fsprogs

e2fsprogs Package Contents on Rocky Linux 8

/etc/mke2fs.conf
/usr/bin/chattr
/usr/bin/lsattr
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/e62a44dfba87dddfe392ed832ac46287f85d24
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/0c7a885879973cb720bf9a7b0cc0fa456a5e08
/usr/lib/.build-id/12
/usr/lib/.build-id/12/81c9251fdf798e6a1e56ac2dd1d30c3e721b43
/usr/lib/.build-id/12/81c9251fdf798e6a1e56ac2dd1d30c3e721b43.1
/usr/lib/.build-id/15
/usr/lib/.build-id/15/04b11ba1b57eb57d2789039aa3223feba9055e
/usr/lib/.build-id/29
/usr/lib/.build-id/29/b08bed3a5948ae12c88ed6ef83b41c108d9bf1
/usr/lib/.build-id/43
/usr/lib/.build-id/43/a961feb1cf139755e76da154cd865c1e6109b0
/usr/lib/.build-id/54
/usr/lib/.build-id/54/243be39a7274e78de06fd073c8afc5d9f8fe26
/usr/lib/.build-id/54/243be39a7274e78de06fd073c8afc5d9f8fe26.1
/usr/lib/.build-id/54/243be39a7274e78de06fd073c8afc5d9f8fe26.2
/usr/lib/.build-id/54/243be39a7274e78de06fd073c8afc5d9f8fe26.3
/usr/lib/.build-id/74
/usr/lib/.build-id/74/0cb8061c756f41d3124d8ecc3dac9ef546640a
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/5b0a08a4708c7652a2e3da1607026dac615355
/usr/lib/.build-id/7f/5b0a08a4708c7652a2e3da1607026dac615355.1
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/44fc6cecfff9b84b643e82ed416b2ce98f4183
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/c3a85c51096db56f95e6aab48ee79ddf2e4f32
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/8c959ec025acc626e2b2ba3238db55cebb779b
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/9d8dd1e9281b72fde70b555360254d491bf91b
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/122eebf9e5b3965e67430cba600bc270b37519
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/8b220731e37aa09d5bbb46bfb5ee08c5884963
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/38473191384228d6ea9829fbf9c952946dab20
/usr/lib/.build-id/d2/38473191384228d6ea9829fbf9c952946dab20.1
/usr/lib/.build-id/d2/38473191384228d6ea9829fbf9c952946dab20.2
/usr/lib/.build-id/d2/38473191384228d6ea9829fbf9c952946dab20.3
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/baf3603e2daa6d426d0b728f50d1783f95c5db
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/3f56d5c09d2113845639f7246fe1da6ee7dab2
/usr/sbin/badblocks
/usr/sbin/debugfs
/usr/sbin/dumpe2fs
/usr/sbin/e2freefrag
/usr/sbin/e2fsck
/usr/sbin/e2image
/usr/sbin/e2label
/usr/sbin/e2mmpstatus
/usr/sbin/e2undo
/usr/sbin/e4crypt
/usr/sbin/e4defrag
/usr/sbin/filefrag
/usr/sbin/fsck.ext2
/usr/sbin/fsck.ext3
/usr/sbin/fsck.ext4
/usr/sbin/fuse2fs
/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
/usr/share/doc/e2fsprogs/README
/usr/share/locale/ca/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/cs/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/da/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/de/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/eo/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/es/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/fi/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/fr/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/hu/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/id/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/it/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/ms/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/nl/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/pl/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/pt/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/sr/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/sv/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/tr/LC_MESSAGES/e2fsprogs.mo
/usr/share/locale/uk/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/fuse2fs.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/e2mmpstatus.8.gz
/usr/share/man/man8/e2undo.8.gz
/usr/share/man/man8/e4crypt.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 on Rocky Linux 8 using yum and dnf.