qdirstat command not found

In this troubleshooting guide we learn how to fix qdirstat command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

qdirstat: command not found

or when using sudo you get the following error message

sudo: qdirstat: command not found

Solutions to qdirstat: command not found

How To Fix qdirstat: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu qdirstat is provided by qdirstat package.

qdirstat is:

QDirStat is a graphical application to show where your disk space has gone and to help you to clean it up.

QDirStat has a number of new features compared to KDirStat. To name a few:

  • Multi-selection in both the tree and the treemap.
  • Unlimited number of user-defined cleanup actions.
  • Properly show errors of cleanup actions (and their output, if desired).
  • File categories (MIME types) and their treemap color are now configurable.
  • Exclude rules for directories are easily configurable.
  • Desktop-agnostic; no longer relies on KDE or any other specific desktop.

To fix this problem, we can install more using the command below.

sudo apt-get -y install qdirstat

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install qdirstat.

sudo apt -y install qdirstat

Or if you have aptitude installed you can use the following command.

sudo aptitude install qdirstat

Summary

In this tutorial we learn how to fix qdirstat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.