How To Install apt-listdifferences on Debian 9

In this tutorial we learn how to install apt-listdifferences on Debian 9. apt-listdifferences is source differences notification tool

Introduction

In this tutorial we learn how to install apt-listdifferences on Debian 9.

What is apt-listdifferences

apt-listdifferences is:

apt-listdifferences will show the differences, or patches, between the sources for all packages as they get updated. This makes it easy to review source changes that have been included in new package updates.

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

Install apt-listdifferences Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install apt-listdifferences

Install apt-listdifferences Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install apt-listdifferences

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

sudo aptitude -y install apt-listdifferences

How To Uninstall apt-listdifferences on Debian 9

To uninstall only the apt-listdifferences package we can use the following command:

sudo apt-get remove apt-listdifferences

Uninstall apt-listdifferences And Its Dependencies

To uninstall apt-listdifferences and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove apt-listdifferences

Remove apt-listdifferences Configurations and Data

To remove apt-listdifferences configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge apt-listdifferences

Remove apt-listdifferences configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge apt-listdifferences

Dependencies

apt-listdifferences have the following dependencies:

References

Summary

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