xdiskusage command not found

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

Introduction

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

xdiskusage: command not found

or when using sudo you get the following error message

sudo: xdiskusage: command not found

Solutions to xdiskusage: command not found

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

In Ubuntu xdiskusage is provided by xdiskusage package.

xdiskusage is:

xdiskusage is a user-friendly program to show you what is using up all your disk space. It is based on the design of the “xdu” program written by Phillip C. Dykstra. Changes have been made so it runs “du” for you, and can display the free space left on the disk, and produce a PostScript version of the display.

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

sudo apt-get -y install xdiskusage

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

You can also use apt command to install xdiskusage.

sudo apt -y install xdiskusage

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

sudo aptitude install xdiskusage

Summary

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