How To Install duperemove on Rocky Linux 8

In this tutorial we learn how to install duperemove on Rocky Linux 8. duperemove is Tools for deduping file systems

Introduction

In this tutorial we learn how to install duperemove on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install duperemove.

Install duperemove on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8

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

sudo dnf remove duperemove

duperemove Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/ed8a540b08fa8a0c4c6c0f57fe8335ee91c7ef
/usr/lib/.build-id/67
/usr/lib/.build-id/67/08a4852001b7e9ea839d4632c9f849c64789d2
/usr/lib/.build-id/69
/usr/lib/.build-id/69/835fddde669011a1353705cb3a2e1a1aa9699d
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/41ad7983a69e09341fb07a64a19ab1389b9236
/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 Rocky Linux 8 using yum and dnf.