How To Install duperemove on Fedora 34
Introduction
In this tutorial we learn how to install duperemove
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install duperemove.
Install duperemove on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install duperemove
using dnf
by running the following command:
sudo dnf -y install duperemove
Install duperemove on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the duperemove
package we can use the following command:
sudo dnf remove duperemove
duperemove Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/dd228927d54c515edbb4f070452911c26305b1
/usr/lib/.build-id/54
/usr/lib/.build-id/54/3bada9f1de6cd9d4a0f3a71b5bb9fda4833ccd
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/e94a64095eedbb6f776e77329e89ec5c42bc42
/usr/lib/.build-id/87
/usr/lib/.build-id/87/01585dc2cf54469b700f3c654cb4d7fee8f22a
/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 34 using yum and dnf.