How To Install perl-Exception-Class on Fedora 36

In this tutorial we learn how to install perl-Exception-Class in Fedora 36. perl-Exception-Class is Module that allows you to declare real exception classes in Perl

Introduction

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

What is perl-Exception-Class

Exception modules in a “Java-esque” manner.

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

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

sudo dnf -y install perl-Exception-Class

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

sudo yum -y install perl-Exception-Class

How To Uninstall perl-Exception-Class on Fedora 36

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

sudo dnf remove perl-Exception-Class

perl-Exception-Class Package Contents on Fedora 36

/usr/share/doc/perl-Exception-Class
/usr/share/doc/perl-Exception-Class/CODE_OF_CONDUCT.md
/usr/share/doc/perl-Exception-Class/CONTRIBUTING.md
/usr/share/doc/perl-Exception-Class/Changes
/usr/share/doc/perl-Exception-Class/README.md
/usr/share/licenses/perl-Exception-Class
/usr/share/licenses/perl-Exception-Class/LICENSE
/usr/share/man/man3/Exception::Class.3pm.gz
/usr/share/man/man3/Exception::Class::Base.3pm.gz
/usr/share/perl5/vendor_perl/Exception
/usr/share/perl5/vendor_perl/Exception/Class
/usr/share/perl5/vendor_perl/Exception/Class.pm
/usr/share/perl5/vendor_perl/Exception/Class/Base.pm

References

Summary

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