How To Install perl-CPAN-Mini on Fedora 36

In this tutorial we learn how to install perl-CPAN-Mini in Fedora 36. perl-CPAN-Mini is Create a minimal mirror of CPAN

Introduction

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

What is perl-CPAN-Mini

CPAN mirror of the CPAN on your local disk containing only those files needed to install the newest version of every distribution.

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

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

sudo dnf -y install perl-CPAN-Mini

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

sudo yum -y install perl-CPAN-Mini

How To Uninstall perl-CPAN-Mini on Fedora 36

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

sudo dnf remove perl-CPAN-Mini

perl-CPAN-Mini Package Contents on Fedora 36

/usr/bin/minicpan
/usr/share/doc/perl-CPAN-Mini
/usr/share/doc/perl-CPAN-Mini/Changes
/usr/share/doc/perl-CPAN-Mini/README
/usr/share/licenses/perl-CPAN-Mini
/usr/share/licenses/perl-CPAN-Mini/LICENSE
/usr/share/man/man1/minicpan.1.gz
/usr/share/man/man3/CPAN::Mini.3pm.gz
/usr/share/man/man3/CPAN::Mini::App.3pm.gz
/usr/share/perl5/vendor_perl/CPAN
/usr/share/perl5/vendor_perl/CPAN/Mini
/usr/share/perl5/vendor_perl/CPAN/Mini.pm
/usr/share/perl5/vendor_perl/CPAN/Mini/App.pm

References

Summary

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