How To Install e2fsprogs on CentOS 8
Introduction
In this tutorial we learn how to install e2fsprogs
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install e2fsprogs.
Install e2fsprogs on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install e2fsprogs
using dnf
by running the following command:
sudo dnf -y install e2fsprogs
Install e2fsprogs on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the e2fsprogs
package we can use the following command:
sudo dnf remove e2fsprogs
e2fsprogs Package Contents on CentOS 8
/etc/mke2fs.conf
/usr/bin/chattr
/usr/bin/lsattr
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/caf16a3d5269bd460127c95ebd68bc279730ba
/usr/lib/.build-id/0c/caf16a3d5269bd460127c95ebd68bc279730ba.1
/usr/lib/.build-id/13
/usr/lib/.build-id/13/384172696736bc260fa696d4963d30cf24d184
/usr/lib/.build-id/22
/usr/lib/.build-id/22/6d2da13bb0dd401baed1a958e253155608b77d
/usr/lib/.build-id/25
/usr/lib/.build-id/25/6eebb89a8b24593b29229be587d816691bebe7
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/d1255ff3b2b98ff8424f9261a116193991f2b9
/usr/lib/.build-id/31
/usr/lib/.build-id/31/5e9ccf482f7938d90a5a79697fea0a4c0873b1
/usr/lib/.build-id/31/5e9ccf482f7938d90a5a79697fea0a4c0873b1.1
/usr/lib/.build-id/31/5e9ccf482f7938d90a5a79697fea0a4c0873b1.2
/usr/lib/.build-id/31/5e9ccf482f7938d90a5a79697fea0a4c0873b1.3
/usr/lib/.build-id/43
/usr/lib/.build-id/43/cdde4e410b335c64ad08520d287debc978bc89
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/22abfeee25c854b37adb973010f1accf7a486b
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/d0330de18682de49bc043a18d7b9bcc5d7d375
/usr/lib/.build-id/78
/usr/lib/.build-id/78/863303357cbb6f346eb69a104a8d4406d9e102
/usr/lib/.build-id/78/863303357cbb6f346eb69a104a8d4406d9e102.1
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/6ae815296f0fbce32b3982f6806780f990f68d
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/f81aa5c544a989f7ab6f2ec8e269fbfddea895
/usr/lib/.build-id/86
/usr/lib/.build-id/86/33c011be36254539290ce96fa1dad58e3bb1fa
/usr/lib/.build-id/98
/usr/lib/.build-id/98/4207857481a935c9463bf6a9b7dc02e4e18368
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/21ab92cb95eca467ed5316be6fef8650bddc87
/usr/lib/.build-id/b9/21ab92cb95eca467ed5316be6fef8650bddc87.1
/usr/lib/.build-id/b9/21ab92cb95eca467ed5316be6fef8650bddc87.2
/usr/lib/.build-id/b9/21ab92cb95eca467ed5316be6fef8650bddc87.3
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/3c482ad914bd623d1fa6fc9c18f8e1c7fa5bb6
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/8a57af192a7f899c20cc93218743b97f387f62
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/1a52ba5d185a4c9d3a12386d299d56b1d20482
/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 CentOS 8 using yum and dnf.