How To Install perl-base on Fedora 36

In this tutorial we learn how to install perl-base in Fedora 36. perl-base is Establish an ISA relationship with base classes at compile time

Introduction

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

What is perl-base

“base” module allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Unless you are using the “fields” pragma, consider this module discouraged in favor of the lighter-weight “parent”.

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

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

sudo dnf -y install perl-base

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

sudo yum -y install perl-base

How To Uninstall perl-base on Fedora 36

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

sudo dnf remove perl-base

perl-base Package Contents on Fedora 36

/usr/share/man/man3/base.3pm.gz
/usr/share/perl5/base.pm

References

Summary

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