How To Install e2fsprogs on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install e2fsprogs on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install e2fsprogs.

Install e2fsprogs on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove e2fsprogs

References

Summary

In this tutorial we learn how to install e2fsprogs on AlmaLinux 8 using yum and dnf.