k4dirstat icon indicating copy to clipboard operation
k4dirstat copied to clipboard

K4DirStat (KDE Directory Statistics) is a small utility program that sums up disk usage for directory trees, very much like the Unix 'du' command. It displays the disk space used up by a directory tre...

Overview

Screenshot of the k4dirstat UI, with the 'tree view' at the top and the 'treemap view' at the bottom

See the wiki.

Building

First install Qt 5 and KDE Framework 5 headers. On Debian and its derivatives it can be done with:

apt-get install extra-cmake-modules qtbase5-dev libkf5coreaddons-dev \
 libkf5i18n-dev libkf5xmlgui-dev libkf5doctools-dev libkf5kio-dev

Then run cmake:

cmake -DCMAKE_INSTALL_PREFIX=/path/where/to/install
make install