How To Install e2tools on Fedora 34

e2tools is Manipulate files in unmounted ext2/ext3 filesystems

Introduction

In this tutorial we learn how to install e2tools on Fedora 34.

What is e2tools

A simple set of utilities to read, write, and manipulate files in an ext2/ext3 filesystem directly using the ext2fs library. This works - without root access - without the filesystem being mounted - without kernel ext2/ext3 support The utilities are

We can use yum or dnf to install e2tools on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install e2tools.

Install e2tools 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 e2tools using dnf by running the following command:

sudo dnf -y install e2tools

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

sudo yum -y install e2tools

How To Uninstall e2tools on Fedora 34

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

sudo dnf remove e2tools

e2tools Package Contents on Fedora 34

/usr/bin/e2cp
/usr/bin/e2ln
/usr/bin/e2ls
/usr/bin/e2mkdir
/usr/bin/e2mv
/usr/bin/e2rm
/usr/bin/e2tail
/usr/bin/e2tools
/usr/lib/.build-id
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/e42b55914682dcfecb24c0a5617f01403ef6b8
/usr/share/doc/e2tools
/usr/share/doc/e2tools/AUTHORS
/usr/share/doc/e2tools/COPYING
/usr/share/doc/e2tools/ChangeLog
/usr/share/doc/e2tools/NEWS.md
/usr/share/doc/e2tools/README.md
/usr/share/doc/e2tools/TODO
/usr/share/man/man1/e2cp.1.gz
/usr/share/man/man1/e2ln.1.gz
/usr/share/man/man1/e2ls.1.gz
/usr/share/man/man1/e2mkdir.1.gz
/usr/share/man/man1/e2mv.1.gz
/usr/share/man/man1/e2rm.1.gz
/usr/share/man/man1/e2tail.1.gz
/usr/share/man/man7/e2tools.7.gz

References

Summary

In this tutorial we learn how to install e2tools on Fedora 34 using yum and dnf.