How To Install btrfs-heatmap on Fedora 36

In this tutorial we learn how to install btrfs-heatmap in Fedora 36. btrfs-heatmap is Visualize the layout of data on your btrfs filesystem over time

Introduction

In this tutorial we learn how to install btrfs-heatmap on Fedora 36.

What is btrfs-heatmap

The btrfs heatmap script creates a visualization of how a btrfs filesystem is utilizing the underlying disk space of the block devices that are added to it.

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

Install btrfs-heatmap 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 btrfs-heatmap using dnf by running the following command:

sudo dnf -y install btrfs-heatmap

Install btrfs-heatmap 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 btrfs-heatmap using yum by running the following command:

sudo yum -y install btrfs-heatmap

How To Uninstall btrfs-heatmap on Fedora 36

To uninstall only the btrfs-heatmap package we can use the following command:

sudo dnf remove btrfs-heatmap

btrfs-heatmap Package Contents on Fedora 36

/usr/bin/btrfs-heatmap
/usr/share/licenses/btrfs-heatmap
/usr/share/licenses/btrfs-heatmap/COPYING
/usr/share/man/man1/btrfs-heatmap.1.gz

References

Summary

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