How to Uninstall or Install e2fsck-static on Ubuntu 22.04

Updated: September 5, 2022

This may be of some help to you if your filesystem gets corrupted enough to break the shared libraries used by the dynamically linked checker. In this tutorial, I will show you how to install e2fsck-static on Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install e2fsck-static on Ubuntu 22.04

Install e2fsck-static Ubuntu 22.04

e2fsck-static is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install e2fsck-static using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get e2fsck-static on your Ubuntu 22.04.

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

sudo apt -y update

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

sudo apt-get -y install e2fsck-static

Install e2fsck-static using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After that, you can now install e2fsck-static, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install e2fsck-static Ubuntu by executing this command in the terminal.

sudo aptitude install e2fsck-static

Uninstall e2fsck-static 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 e2fsck-static.

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

sudo apt remove --auto-remove e2fsck-static

If you want to uninstall e2fsck-static and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge e2fsck-static

Summary

In this guide, I showed you ways to install e2fsck-static on Ubuntu 22.04 and some ways to uninstall e2fsck-static too. Please contact me if you require any assistance. I’d be delighted to respond.