How To Install perl-Class-Base on Fedora 36

In this tutorial we learn how to install perl-Class-Base in Fedora 36. perl-Class-Base is Useful base class for deriving other modules

Introduction

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

What is perl-Class-Base

This module implements a simple base class from which other modules can be derived, thereby inheriting a number of useful methods such as new(), init(), params(), clone(), error() and debug().

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

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

sudo dnf -y install perl-Class-Base

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

sudo yum -y install perl-Class-Base

How To Uninstall perl-Class-Base on Fedora 36

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

sudo dnf remove perl-Class-Base

perl-Class-Base Package Contents on Fedora 36

/usr/share/doc/perl-Class-Base
/usr/share/doc/perl-Class-Base/CONTRIBUTORS
/usr/share/doc/perl-Class-Base/Changes
/usr/share/doc/perl-Class-Base/README
/usr/share/doc/perl-Class-Base/README.mkdn
/usr/share/doc/perl-Class-Base/TODO
/usr/share/licenses/perl-Class-Base
/usr/share/licenses/perl-Class-Base/LICENSE
/usr/share/man/man3/Class::Base.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Base.pm

References

Summary

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