Ways to Install or Uninstall e2fsprogs on Ubuntu 22.04

Updated: September 5, 2022

The ext2, ext3 and ext4 file systems are successors of the original ext (“extended”) file system. They are the main file system types used for hard disks on Debian and other Linux systems. In this guide, I will show you how to install e2fsprogs on Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install e2fsprogs on Ubuntu 22.04

Install e2fsprogs Ubuntu 22.04

e2fsprogs is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install e2fsprogs using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these instructions to install e2fsprogs on your Ubuntu.

Step 1: Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install e2fsprogs Ubuntu by pasting this command into the terminal and executing it.

sudo apt install e2fsprogs

Install e2fsprogs using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After that, you can now install e2fsprogs, just following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install e2fsprogs Ubuntu by executing this command in the terminal.

sudo aptitude -y install e2fsprogs

Uninstall e2fsprogs on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just e2fsprogs.

This command can be used to uninstall e2fsprogs from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove e2fsprogs

To uninstall e2fsprogs and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge e2fsprogs

Conclusion

In this guide, I showed you ways to install e2fsprogs on Ubuntu 22.04 and ways to uninstall e2fsprogs too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.