Ways to Install or Uninstall gparted on Ubuntu 22.04

Updated: August 26, 2022

GParted uses libparted to detect and manipulate devices and partition tables while several (optional) filesystem tools provide support for filesystems not included in libparted. I will show you how to install gparted on Ubuntu 22.04 in this guide.

Software Requirement

  • OS: gparted needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install gparted on Ubuntu 22.04

Install gparted Ubuntu 22.04

gparted 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 you believe is simple and easy to follow.

Install gparted using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these instructions to get gparted on your Ubuntu.

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 the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install gparted Ubuntu by executing this command in the terminal.

sudo apt-get install gparted

Install gparted using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt install aptitude

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

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt-get update

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

sudo aptitude -y install gparted

Uninstall gparted 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 gparted.

If you installed gparted using APT or Aptitude, you could uninstall gparted on Ubuntu by executing this command

sudo apt remove --auto-remove gparted

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

sudo apt autoremove --purge gparted

Conclusion

In this tutorial, I showed you ways to install gparted on Ubuntu 22.04 and ways to uninstall gparted too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.