The answers provided to this question doesn't help.
yum install ncdu
But I'm getting
No package ncdu available
If you are using Red Hat Enterprise Linux, I do not think ncdu is in the RHEL server repositories, repositories. I do not have a machine where I can check if it is in the workstation repositories, but I suspect it isn't. If it isn't, one option is the use EPEL (faq):
Alternatively, you can always download the tool from the upstream website:
and follow the directions in the INSTALL file. However, this will require you to chase down dependencies and install the tools needed to build the project.
You will need to download the latest
Login as root to your machine and under
then extract the tarball, with:
this will create a new folder named ncdu-1.10. Enter that folder and execute:
If it can't find ncurses.h and the configure fails,
and you are done.