How To Install duf on Fedora 36

In this tutorial we learn how to install duf in Fedora 36. duf is Disk Usage/Free Utility - a better ‘df’ alternative

Introduction

In this tutorial we learn how to install duf on Fedora 36.

What is duf

Disk Usage/Free Utility - a better ‘df’ alternative.

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

Install duf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install duf

Install duf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install duf

How To Uninstall duf on Fedora 36

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

sudo dnf remove duf

duf Package Contents on Fedora 36

/usr/bin/duf
/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/22af740aeb5e67039aee297ebb72df202e5122
/usr/share/doc/duf
/usr/share/doc/duf/README.md
/usr/share/licenses/duf
/usr/share/licenses/duf/LICENSE
/usr/share/man/man1/duf.1.gz

References

Summary

In this tutorial we learn how to install duf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).