How To Install perl-CPAN-Meta-Requirements on CentOS 8
Introduction
In this tutorial we learn how to install perl-CPAN-Meta-Requirements
on CentOS 8.
What is perl-CPAN-Meta-Requirements
A CPAN those specified in the META.yml or META.json files in CPAN distributions. It can be built up by adding more and more constraints, and it will reduce them to the simplest representation. Logically impossible constraints will be identified immediately by thrown exceptions.
We can use yum
or dnf
to install perl-CPAN-Meta-Requirements
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-CPAN-Meta-Requirements.
Install perl-CPAN-Meta-Requirements on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install perl-CPAN-Meta-Requirements
using dnf
by running the following command:
sudo dnf -y install perl-CPAN-Meta-Requirements
Install perl-CPAN-Meta-Requirements on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install perl-CPAN-Meta-Requirements
using yum
by running the following command:
sudo yum -y install perl-CPAN-Meta-Requirements
How To Uninstall perl-CPAN-Meta-Requirements on CentOS 8
To uninstall only the perl-CPAN-Meta-Requirements
package we can use the following command:
sudo dnf remove perl-CPAN-Meta-Requirements
perl-CPAN-Meta-Requirements Package Contents on CentOS 8
/usr/share/doc/perl-CPAN-Meta-Requirements
/usr/share/doc/perl-CPAN-Meta-Requirements/CONTRIBUTING.mkdn
/usr/share/doc/perl-CPAN-Meta-Requirements/Changes
/usr/share/doc/perl-CPAN-Meta-Requirements/README
/usr/share/doc/perl-CPAN-Meta-Requirements/perlcritic.rc
/usr/share/licenses/perl-CPAN-Meta-Requirements
/usr/share/licenses/perl-CPAN-Meta-Requirements/LICENSE
/usr/share/man/man3/CPAN::Meta::Requirements.3pm.gz
/usr/share/perl5/vendor_perl/CPAN
/usr/share/perl5/vendor_perl/CPAN/Meta
/usr/share/perl5/vendor_perl/CPAN/Meta/Requirements.pm
References
Summary
In this tutorial we learn how to install perl-CPAN-Meta-Requirements
on CentOS 8 using yum and dnf.