How To Install diffoscope on Debian 10

Learn how to install diffoscope on Debian 10 with this tutorial. diffoscope is in-depth comparison of files, archives, and directories

Introduction

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

What is diffoscope

diffoscope is:

diffoscope will try to get to the bottom of what makes files or directories different. It will recursively unpack archives of many kinds and transform various binary formats into more human readable form to compare them. It can compare two tarballs, ISO images, or PDF just as easily. The differences can be shown in a text or HTML report.

diffoscope is developed as part of the ??reproducible builds?? project.

There are three methods to install diffoscope 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 diffoscope Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install diffoscope

Install diffoscope Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install diffoscope

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

sudo aptitude -y install diffoscope

How To Uninstall diffoscope on Debian 10

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

sudo apt-get remove diffoscope

Uninstall diffoscope And Its Dependencies

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

sudo apt-get -y autoremove diffoscope

Remove diffoscope Configurations and Data

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

sudo apt-get -y purge diffoscope

Remove diffoscope configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge diffoscope

Dependencies

diffoscope have the following dependencies:

References

Summary

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