How To Install compsize on Fedora 36

In this tutorial we learn how to install compsize in Fedora 36. compsize is Utility for measuring compression ratio of files on btrfs

Introduction

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

What is compsize

compsize takes a list of files (given as arguments) on a btrfs filesystem and measures used compression types and effective compression ratio, producing a report.

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

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

sudo dnf -y install compsize

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

sudo yum -y install compsize

How To Uninstall compsize on Fedora 36

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

sudo dnf remove compsize

compsize Package Contents on Fedora 36

/usr/bin/compsize
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/b42fb6d47316dfd8a65545d8a1d86c018693df
/usr/share/doc/compsize
/usr/share/doc/compsize/README.md
/usr/share/licenses/compsize
/usr/share/licenses/compsize/LICENSE
/usr/share/man/man8/compsize.8.gz

References

Summary

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