ncdu command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ncdu: command not found
or when using sudo you get the following error message
sudo: ncdu: command not found
Solutions to ncdu: command not found
How To Fix ncdu: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ncdu is provided by ncdu package.
ncdu is:
Ncdu is a ncurses-based du viewer. It provides a fast and easy-to-use interface through famous du utility. It allows one to browse through the directories and show percentages of disk usage with ncurses library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ncdu
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ncdu.
sudo apt -y install ncdu
Or if you have aptitude installed you can use the following command.
sudo aptitude install ncdu
Summary
In this tutorial we learn how to fix ncdu command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.