Introduction
In this tutorial we learn how to install libdist-checkconflicts-perl
on Ubuntu 20.04.
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.
Task: ubuntukylin-desktop
There are three methods to install libdist-checkconflicts-perl
on Ubuntu 20.04. 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 update
After updating apt database, We can install libdist-checkconflicts-perl
using apt-get
by running the following command:
sudo apt-get -y install libdist-checkconflicts-perl
Install libdist-checkconflicts-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdist-checkconflicts-perl
using apt
by running the following command:
sudo apt -y install libdist-checkconflicts-perl
Install libdist-checkconflicts-perl 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libdist-checkconflicts-perl
using aptitude
by running the following command:
sudo aptitude -y install libdist-checkconflicts-perl
How To Uninstall libdist-checkconflicts-perl on Ubuntu 20.04
To uninstall only the libdist-checkconflicts-perl
package we can use the following command:
sudo apt-get remove libdist-checkconflicts-perl
Uninstall libdist-checkconflicts-perl And Its Dependencies
To uninstall libdist-checkconflicts-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libdist-checkconflicts-perl
Remove libdist-checkconflicts-perl Configurations and Data
To remove libdist-checkconflicts-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libdist-checkconflicts-perl
Remove 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-perl
References
Summary
In this tutorial we learn how to install libdist-checkconflicts-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.