How To Install duperemove on Debian 10

Learn how to install duperemove on Debian 10 with this tutorial. duperemove is extent-based deduplicator for file systems

Introduction

In this tutorial we learn how to install duperemove on Debian 10.

What is duperemove

duperemove is:

Duperemove is a 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.

On BTRFS and, experimentally, XFS, it can then reflink such extents in a race-free way. Unlike hardlink-based solutions, affected files appear independent in any way other than reduced disk space used.

There are three methods to install duperemove on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install duperemove Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install duperemove using apt-get by running the following command:

sudo apt-get -y install duperemove

Install duperemove Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install duperemove using apt by running the following command:

sudo apt -y install duperemove

Install duperemove Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install duperemove using aptitude by running the following command:

sudo aptitude -y install duperemove

How To Uninstall duperemove on Debian 10

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

sudo apt-get remove duperemove

Uninstall duperemove And Its Dependencies

To uninstall duperemove and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove duperemove

Remove duperemove Configurations and Data

To remove duperemove configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge duperemove

Remove duperemove configuration, data, and all of its dependencies

We can use the following command to remove duperemove configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge duperemove

Dependencies

duperemove have the following dependencies:

References

Summary

In this tutorial we learn how to install duperemove package on Debian 10 using different package management tools: apt, apt-get and aptitude.