How To Install cpan-listchanges on Debian 10
Introduction
In this tutorial we learn how to install cpan-listchanges on Debian 10.
What is cpan-listchanges
cpan-listchanges is:
cpan-listchanges is a command-line application that compares the Changes file between arbitrary versions of a package. It is similar to apt-listchanges, and by default, it compares the currently installed version with the latest one available on CPAN.
There are three methods to install cpan-listchanges 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 cpan-listchanges Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install cpan-listchanges using apt-get by running the following command:
sudo apt-get -y install cpan-listchanges
Install cpan-listchanges Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install cpan-listchanges using apt by running the following command:
sudo apt -y install cpan-listchanges
Install cpan-listchanges 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 cpan-listchanges using aptitude by running the following command:
sudo aptitude -y install cpan-listchanges
How To Uninstall cpan-listchanges on Debian 10
To uninstall only the cpan-listchanges package we can use the following command:
sudo apt-get remove cpan-listchanges
Uninstall cpan-listchanges And Its Dependencies
To uninstall cpan-listchanges and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove cpan-listchanges
Remove cpan-listchanges Configurations and Data
To remove cpan-listchanges configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge cpan-listchanges
Remove cpan-listchanges configuration, data, and all of its dependencies
We can use the following command to remove cpan-listchanges configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cpan-listchanges
Dependencies
cpan-listchanges have the following dependencies:
References
Summary
In this tutorial we learn how to install cpan-listchanges package on Debian 10 using different package management tools: apt, apt-get and aptitude.