How To Install e2fsprogs on Fedora 34
Introduction
In this tutorial we learn how to install e2fsprogs
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install e2fsprogs.
Install e2fsprogs on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the e2fsprogs
package we can use the following command:
sudo dnf remove e2fsprogs
e2fsprogs Package Contents on Fedora 34
/etc/mke2fs.conf
/usr/bin/chattr
/usr/bin/fuse2fs
/usr/bin/lsattr
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/8a16144a6a90759abcd8cedea778e07c58f0e1
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/0436223c072f3b51ecb96bff64a6b596bbd5c0
/usr/lib/.build-id/40
/usr/lib/.build-id/40/57a72a55a0203a875ecf5288b46770ffedb021
/usr/lib/.build-id/48
/usr/lib/.build-id/48/f900d2b726f418f05efe37e5d2c20044d9bf21
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/b42397a41baec621cc091176dea1d68c800fa0
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/7a64443828ae67a3ec65617c2ce45e0bce568f
/usr/lib/.build-id/4f/94c5c3290763f36e3d69ff0bc4d0f4943f067c
/usr/lib/.build-id/65
/usr/lib/.build-id/65/9cc71e9e3eee1712769d3187ecbb7c6b05e2c3
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/1aba9638ce8754055afe869be7b6214f98d02d
/usr/lib/.build-id/6f/1aba9638ce8754055afe869be7b6214f98d02d.1
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/b6e1d7790e51e104c1e13de1169876601da46d
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/f59b480ed64e3f4e486e6a26f92578a102b94b
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/b1d8f6bce3c34f2ce037a16441f30553ff476f
/usr/lib/.build-id/a5/b1d8f6bce3c34f2ce037a16441f30553ff476f.1
/usr/lib/.build-id/a5/b1d8f6bce3c34f2ce037a16441f30553ff476f.2
/usr/lib/.build-id/a5/b1d8f6bce3c34f2ce037a16441f30553ff476f.3
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/31e7adde9322e611a7fe935a38652b7841928c
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/24de8e781329eb3966e2c9e4ec4797d443d2a7
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/4a96bac52c4549c980f9d30f95ec7b1a0961ef
/usr/lib/.build-id/d2/4a96bac52c4549c980f9d30f95ec7b1a0961ef.1
/usr/lib/.build-id/d2/6cf6a71bdcd9b800a93cfb28b913fd4dd56097
/usr/lib/.build-id/d2/6cf6a71bdcd9b800a93cfb28b913fd4dd56097.1
/usr/lib/.build-id/d2/6cf6a71bdcd9b800a93cfb28b913fd4dd56097.2
/usr/lib/.build-id/d2/6cf6a71bdcd9b800a93cfb28b913fd4dd56097.3
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/a9258c346e40eb115303340eddd6c804f08463
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/181cb874af7edbb9faa362d50e5c4a504ea404
/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/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 Fedora 34 using yum and dnf.