How To Install perl-Dist-CheckConflicts.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-Dist-CheckConflicts.noarch on Amazon Linux 2.
What is perl-Dist-CheckConflicts.noarch
One shortcoming of the CPAN clients that currently exist is that they have no way of specifying conflicting downstream dependencies of modules. This module 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.
We can use yum to install perl-Dist-CheckConflicts.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Dist-CheckConflicts.noarch.
Install perl-Dist-CheckConflicts.noarch on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Dist-CheckConflicts.noarch using yum by running the following command:
sudo yum -y install perl-Dist-CheckConflicts.noarch
How To Uninstall perl-Dist-CheckConflicts.noarch on Amazon Linux 2
To uninstall only the perl-Dist-CheckConflicts.noarch package we can use the following command:
sudo yum remove perl-Dist-CheckConflicts.noarch
perl-Dist-CheckConflicts.noarch Package Contents on Amazon Linux 2
/usr/share/doc/perl-Dist-CheckConflicts-0.06
/usr/share/doc/perl-Dist-CheckConflicts-0.06/Changes
/usr/share/doc/perl-Dist-CheckConflicts-0.06/LICENSE
/usr/share/doc/perl-Dist-CheckConflicts-0.06/README
/usr/share/man/man3/Dist::CheckConflicts.3pm.gz
/usr/share/perl5/vendor_perl/Dist
/usr/share/perl5/vendor_perl/Dist/CheckConflicts.pm
References
Summary
In this tutorial we learn how to install perl-Dist-CheckConflicts.noarch on Amazon Linux 2 using yum.