How To Install k4dirstat on Fedora 34

k4dirstat is Graphical Directory Statistics for Used Disk Space

Introduction

In this tutorial we learn how to install k4dirstat on Fedora 34.

What is k4dirstat

KDirStat (KDE Directory Statistics) is a utility program that sums up disk usage for directory trees - very much like the Unix ‘du’ command. It can also help you clean up used space.

We can use yum or dnf to install k4dirstat on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install k4dirstat.

Install k4dirstat on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install k4dirstat using dnf by running the following command:

sudo dnf -y install k4dirstat

Install k4dirstat on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install k4dirstat using yum by running the following command:

sudo yum -y install k4dirstat

How To Uninstall k4dirstat on Fedora 34

To uninstall only the k4dirstat package we can use the following command:

sudo dnf remove k4dirstat

k4dirstat Package Contents on Fedora 34

/usr/bin/k4dirstat
/usr/bin/kdirstat
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/f838228fd43bb30545c9ac013b9275a60dcf31
/usr/share/applications/k4dirstat.desktop
/usr/share/config.kcfg/k4dirstat.kcfg
/usr/share/doc/HTML/en/k4dirstat
/usr/share/doc/HTML/en/k4dirstat/feedback-mail.png
/usr/share/doc/HTML/en/k4dirstat/index.cache.bz2
/usr/share/doc/HTML/en/k4dirstat/index.docbook
/usr/share/doc/HTML/en/k4dirstat/kdirstat-config-cleanups.png
/usr/share/doc/HTML/en/k4dirstat/kdirstat-config-tree-colors.png
/usr/share/doc/HTML/en/k4dirstat/kdirstat-main.png
/usr/share/doc/k4dirstat
/usr/share/doc/k4dirstat/AUTHORS
/usr/share/doc/k4dirstat/CREDITS
/usr/share/icons/hicolor/16x16/apps/k4dirstat.png
/usr/share/icons/hicolor/32x32/apps/k4dirstat.png
/usr/share/icons/hicolor/48x48/apps/k4dirstat.png
/usr/share/icons/hicolor/scalable/apps/k4dirstat.svgz
/usr/share/licenses/k4dirstat
/usr/share/licenses/k4dirstat/COPYING
/usr/share/licenses/k4dirstat/COPYING.LIB
/usr/share/locale/ca/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/de/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/es_AR/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/fr/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/hu/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/it/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/ja/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/lt/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/lv/LC_MESSAGES/k4dirstat.mo
/usr/share/locale/nl/LC_MESSAGES/k4dirstat.mo
/usr/share/man/man1/k4dirstat.1.gz

References

Summary

In this tutorial we learn how to install k4dirstat on Fedora 34 using yum and dnf.