LLI Wiki — My Digital Knowledge Base

Install ncdu, the disk usage analyzer, on CentOS

Install ncdu 2.3 on CentOS from the precompiled binary or by building it from source.

ncdu is a command-line disk usage analyzer based on ncurses. It can be installed from the precompiled binary or built from source. Project page: ncdu.

Installing the binary

wget https://dev.yorhel.nl/download/ncdu-2.3-linux-x86_64.tar.gz
tar -zxvf ncdu-2.3-linux-x86_64.tar.gz

Building from source

Install the build dependencies:

sudo yum install ncurses-devel ncurses wget -y

Download, extract and build the archive:

wget https://dev.yorhel.nl/download/ncdu-2.3.tar.gz
tar -zxvf ncdu-2.3.tar.gz
rm ncdu-2.3.tar.gz
cd ncdu-2.3
./configure --prefix=/usr
make && sudo make install
Mastodon LLIMastodon SocialFosstodon