How To Install trydiffoscope on Debian 11

In this tutorial we learn how to install trydiffoscope on Debian 11. trydiffoscope is in-depth comparison of files, archives, etc. (try.diffoscope.org client)

Introduction

In this tutorial we learn how to install trydiffoscope on Debian 11.

What is trydiffoscope

trydiffoscope 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?? Debian project.

This package contains the https://try.diffoscope.org/ command-line client.

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

Install trydiffoscope Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install trydiffoscope

Install trydiffoscope Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install trydiffoscope

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

sudo aptitude -y install trydiffoscope

How To Uninstall trydiffoscope on Debian 11

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

sudo apt-get remove trydiffoscope

Uninstall trydiffoscope And Its Dependencies

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

sudo apt-get -y autoremove trydiffoscope

Remove trydiffoscope Configurations and Data

To remove trydiffoscope configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge trydiffoscope

Remove trydiffoscope configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge trydiffoscope

Dependencies

trydiffoscope have the following dependencies:

References

Summary

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