How to Install Duf Disk Usage Utility on Debian 11 Bullseye

No, it is no Duff beer if that rings a bell. Today, we are talking about Duf disk utility, an open-source, free “Disk Usage Free Utility” written in Goland and released under MIT license. The disk utility supports multi-platforms such as BSD, Linux, macOS, and Windows operating systems.

Duf is a command-line utility to find disk usage in Linux and Unix-like systems terminals. One of the excellent features of Duf is its ability to display the disk usage details in a beautiful, user-friendly layout in tab form. Some extra features with Duf include disk usage out in JSON output.

In the following tutorial, you will learn how to install Duf on Debian 11 Bullseye.


  • Recommended OS: Debian 11 Bullseye
  • User account: A user account with sudo privilages or root access (su command).

Updating Operating System

Update your Debian 11 Bullseye operating system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade

Root or Sudo Access

By default, when you create your account at startup with Debian compared to other distributions, it does not automatically receive sudoers status. You must either have access to the root password to use the su command or visit our tutorial on How to Add a User to Sudoers on Debian.

Install Duf with .deb

Duf does not come in Debian 11 default repository by default, so you must download the .deb package from the project’s GitHub releases page. Once you get the latest link, open your terminal and download the package.



Next, install Duf Disk Usage Utility with the following command:

sudo dpkg -i duf_0.6.2_linux_amd64.deb

Example output:

Selecting previously unselected package duf.
(Reading database ... 229993 files and directories currently installed.)
Preparing to unpack duf_0.6.2_linux_amd64.deb ...
Unpacking duf (0.6.2) ...
Setting up duf (0.6.2) ...

Install Duf with Snap Package

An alternative installation method for Debian users is to install Duf using snaps. This method isn’t favored amongst many in the Debian community, but it is still worth mentioning for those utilizing snaps.

First, to install Duf Disk Utility with Snap, run the following command:

sudo snap install duf-utility

Example output:

duf-utility v0.6.0 from muesli installed

If you would like to install and learn about Snap packages, check out our tutorial How to Install Snap & Snap-Store (Snapcraft) on Debian 11 Bullseye.

How to Launch & Use Duf

Now that you have installed Duf Disk Utility, you can launch the application. To access the display, use the following command in your terminal:


Example output:

How to Install Duf Disk Usage Utility on Debian 11 Bullseye

Alternatively, if you would like to display all system files, including those that are duplicates, pseudo, and hidden, using the following command:

duf -all

Example output:

How to Install Duf Disk Usage Utility on Debian 11 Bullseye

Duf can also have the ability to scale down and sort out specifics of what you would like to see and or check on with keywords. The example format syntax would be:

duf--output keyword

An example of using keywords would be options such as mountpoint, size, and usage. You can use all three together or individually. Any combination is possible.

Example of mountpoint, size, and usage:

duf --output mountpoint,size,usage

Example output:

How to Install Duf Disk Usage Utility on Debian 11 Bullseye

Example output:

For customization, you can change the color from light to dark them and vice versa.

Activate light theme:

duf --theme light

Activate dark theme:

duf --theme dark

Example output:

To access the help menu to find out more information about a command or find more information in general, use the following command.

duf --help

Example output:

How to Install Duf Disk Usage Utility on Debian 11 Bullseye

Comments and Conclusion

Duf is a simple program to monitor disk utility. It’s lightweight and is under constant development with reviewing its GitHub commits. Bugs are quickly sorted and favorite among many who want a light program to see disk usage, especially on server environments.

Not what you were looking for? Try searching for additional tutorials.

Leave a Comment