gdu command not found

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

Introduction

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

gdu: command not found

or when using sudo you get the following error message

sudo: gdu: command not found

Solutions to gdu: command not found

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

In Ubuntu gdu is provided by gdu package.

gdu is:

Disk usage analyzer with console interface written in Go. Intended primarily for SSD disks where it can fully utilize parallel processing. However HDDs work as well, but the performance gain is not so huge.

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

sudo apt-get -y install gdu

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

You can also use apt command to install gdu.

sudo apt -y install gdu

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

sudo aptitude install gdu

Summary

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