Ways to Install and Uninstall qdirstat on Ubuntu 22.04

Updated: October 10, 2022

QDirStat is a graphical application to show where your disk space has gone and to help you to clean it up. In this tutorial, I will show you ways to install qdirstat Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 is needed for qdirstat to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install qdirstat on Ubuntu 22.04

Install qdirstat Ubuntu 22.04

qdirstat 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 qdirstat 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 install qdirstat on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

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

sudo apt -y install qdirstat

Install qdirstat 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 qdirstat, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install qdirstat Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install qdirstat

Uninstall qdirstat on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a qdirstat.

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

sudo apt remove --auto-remove qdirstat

You can also execute this command if you want to uninstall qdirstat and remove its data and dependencies:

sudo apt autoremove --purge qdirstat

Summary

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