How To Install perl-Class-Mix on Fedora 36

In this tutorial we learn how to install perl-Class-Mix in Fedora 36. perl-Class-Mix is Dynamic class mixing

Introduction

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

What is perl-Class-Mix

The mix_class function provided by this module dynamically generates ‘anonymous’ classes with specified inheritance.

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

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

sudo dnf -y install perl-Class-Mix

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

sudo yum -y install perl-Class-Mix

How To Uninstall perl-Class-Mix on Fedora 36

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

sudo dnf remove perl-Class-Mix

perl-Class-Mix Package Contents on Fedora 36

/usr/share/doc/perl-Class-Mix
/usr/share/doc/perl-Class-Mix/Changes
/usr/share/doc/perl-Class-Mix/README
/usr/share/doc/perl-Class-Mix/t
/usr/share/doc/perl-Class-Mix/t/genpkg.t
/usr/share/doc/perl-Class-Mix/t/mix.t
/usr/share/doc/perl-Class-Mix/t/mro_no.t
/usr/share/doc/perl-Class-Mix/t/mro_yes.t
/usr/share/doc/perl-Class-Mix/t/pod_cvg.t
/usr/share/doc/perl-Class-Mix/t/pod_syn.t
/usr/share/man/man3/Class::Mix.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Mix.pm

References

Summary

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