How To Install duperemove on Fedora 36

In this tutorial we learn how to install duperemove in Fedora 36. duperemove is Tools for deduping file systems

Introduction

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

What is duperemove

Duperemove is a simple tool for finding duplicated extents and submitting them for deduplication. When given a list of files it will hash their contents on a block by block basis and compare those hashes to each other, finding and categorizing extents that match each other. When given the -d option, duperemove will submit those extents for deduplication using the btrfs-extent-same ioctl.

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

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

sudo dnf -y install duperemove

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

sudo yum -y install duperemove

How To Uninstall duperemove on Fedora 36

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

sudo dnf remove duperemove

duperemove Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/0376a70c6ee5b92c3a508a4b312f1d852173c6
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/02df685a77c9fd40c92b7ab734a4bd7020d37d
/usr/lib/.build-id/48
/usr/lib/.build-id/48/0502944dc7632584565d5a3daa38534a9160dd
/usr/lib/.build-id/65
/usr/lib/.build-id/65/a3794574dad0ce3729eef543a32f9bfb7ed56b
/usr/sbin/btrfs-extent-same
/usr/sbin/duperemove
/usr/sbin/hashstats
/usr/sbin/show-shared-extents
/usr/share/doc/duperemove
/usr/share/doc/duperemove/README.md
/usr/share/licenses/duperemove
/usr/share/licenses/duperemove/LICENSE
/usr/share/man/man8/btrfs-extent-same.8.gz
/usr/share/man/man8/duperemove.8.gz
/usr/share/man/man8/hashstats.8.gz
/usr/share/man/man8/show-shared-extents.8.gz

References

Summary

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