How To Install perl-Module-CPANfile on Fedora 36

In this tutorial we learn how to install perl-Module-CPANfile in Fedora 36. perl-Module-CPANfile is Parse cpanfile

Introduction

In this tutorial we learn how to install perl-Module-CPANfile on Fedora 36.

What is perl-Module-CPANfile

Module specific dependencies, not just for CPAN distributions.

We can use yum or dnf to install perl-Module-CPANfile on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Module-CPANfile.

Install perl-Module-CPANfile on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Module-CPANfile using dnf by running the following command:

sudo dnf -y install perl-Module-CPANfile

Install perl-Module-CPANfile on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Module-CPANfile using yum by running the following command:

sudo yum -y install perl-Module-CPANfile

How To Uninstall perl-Module-CPANfile on Fedora 36

To uninstall only the perl-Module-CPANfile package we can use the following command:

sudo dnf remove perl-Module-CPANfile

perl-Module-CPANfile Package Contents on Fedora 36

/usr/bin/cpanfile-dump
/usr/bin/mymeta-cpanfile
/usr/share/doc/perl-Module-CPANfile
/usr/share/doc/perl-Module-CPANfile/Changes
/usr/share/doc/perl-Module-CPANfile/README
/usr/share/licenses/perl-Module-CPANfile
/usr/share/licenses/perl-Module-CPANfile/LICENSE
/usr/share/man/man1/cpanfile-dump.1.gz
/usr/share/man/man1/mymeta-cpanfile.1.gz
/usr/share/man/man3/Module::CPANfile.3pm.gz
/usr/share/man/man3/cpanfile-faq.3pm.gz
/usr/share/man/man3/cpanfile.3pm.gz
/usr/share/perl5/vendor_perl/Module
/usr/share/perl5/vendor_perl/Module/CPANfile
/usr/share/perl5/vendor_perl/Module/CPANfile.pm
/usr/share/perl5/vendor_perl/Module/CPANfile/Environment.pm
/usr/share/perl5/vendor_perl/Module/CPANfile/Prereq.pm
/usr/share/perl5/vendor_perl/Module/CPANfile/Prereqs.pm
/usr/share/perl5/vendor_perl/Module/CPANfile/Requirement.pm
/usr/share/perl5/vendor_perl/cpanfile-faq.pod
/usr/share/perl5/vendor_perl/cpanfile.pod

References

Summary

In this tutorial we learn how to install perl-Module-CPANfile on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).