How To Install libdist-checkconflicts-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdist-checkconflicts-perl on Kali Linux.
What is libdist-checkconflicts-perl
libdist-checkconflicts-perl is:
One shortcoming of the CPAN clients that currently exist is that they have no way of specifying conflicting downstream dependencies of modules. Dist::CheckConflicts attempts to work around this issue by allowing you to specify conflicting versions of modules separately, and deal with them after the module is done installing.
For instance, say you have a module Foo, and some other module Bar uses Foo. If Foo were to change its API in a non-backwards-compatible way, this would cause Bar to break until it is updated to use the new API. Foo can’t just depend on the fixed version of Bar, because this will cause a circular dependency (because Bar is already depending on Foo), and this doesn’t express intent properly anyway - Foo doesn’t use Bar at all. The ideal solution would be for there to be a way to specify conflicting versions of modules in a way that would let CPAN clients update conflicting modules automatically after an existing module is upgraded, but until that happens, this module will allow users to do this manually.
There are three methods to install libdist-checkconflicts-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libdist-checkconflicts-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libdist-checkconflicts-perl using apt-get by running the following command:
sudo apt-get -y install libdist-checkconflicts-perlInstall libdist-checkconflicts-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libdist-checkconflicts-perl using apt by running the following command:
sudo apt -y install libdist-checkconflicts-perlInstall libdist-checkconflicts-perl Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install libdist-checkconflicts-perl using aptitude by running the following command:
sudo aptitude -y install libdist-checkconflicts-perlHow To Uninstall libdist-checkconflicts-perl on Kali Linux
To uninstall only the libdist-checkconflicts-perl package we can use the following command:
sudo apt-get remove libdist-checkconflicts-perlUninstall libdist-checkconflicts-perl And Its Dependencies
To uninstall libdist-checkconflicts-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdist-checkconflicts-perlRemove libdist-checkconflicts-perl Configurations and Data
To remove libdist-checkconflicts-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdist-checkconflicts-perlRemove libdist-checkconflicts-perl configuration, data, and all of its dependencies
We can use the following command to remove libdist-checkconflicts-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdist-checkconflicts-perlDependencies
libdist-checkconflicts-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdist-checkconflicts-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.