How To Install perl-CPAN-Inject on Fedora 36

In this tutorial we learn how to install perl-CPAN-Inject in Fedora 36. perl-CPAN-Inject is Base class for injecting distributions into CPAN sources

Introduction

In this tutorial we learn how to install perl-CPAN-Inject on Fedora 36.

What is perl-CPAN-Inject

Following the release of CPAN created to add additional distributions into a minicpan mirror.

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

Install perl-CPAN-Inject 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-CPAN-Inject using dnf by running the following command:

sudo dnf -y install perl-CPAN-Inject

Install perl-CPAN-Inject 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-CPAN-Inject using yum by running the following command:

sudo yum -y install perl-CPAN-Inject

How To Uninstall perl-CPAN-Inject on Fedora 36

To uninstall only the perl-CPAN-Inject package we can use the following command:

sudo dnf remove perl-CPAN-Inject

perl-CPAN-Inject Package Contents on Fedora 36

/usr/bin/cpaninject
/usr/share/doc/perl-CPAN-Inject
/usr/share/doc/perl-CPAN-Inject/Changes
/usr/share/man/man1/cpaninject.1.gz
/usr/share/man/man3/CPAN::Inject.3pm.gz
/usr/share/perl5/vendor_perl/CPAN
/usr/share/perl5/vendor_perl/CPAN/Inject.pm

References

Summary

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