How To Install perl-Ouch on Fedora 36

In this tutorial we learn how to install perl-Ouch in Fedora 36. perl-Ouch is Exceptions that don’t hurt

Introduction

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

What is perl-Ouch

Ouch provides a class for exception handling that doesn’t require a lot of boilerplate, nor any up front definition. If Exception is working for you, great! But if you want something that is faster, easier to use, requires less typing, and has no prerequisites, but still gives you much of that same functionality, then Ouch is for you.

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

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

sudo dnf -y install perl-Ouch

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

sudo yum -y install perl-Ouch

How To Uninstall perl-Ouch on Fedora 36

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

sudo dnf remove perl-Ouch

perl-Ouch Package Contents on Fedora 36

/usr/share/doc/perl-Ouch
/usr/share/doc/perl-Ouch/Changes
/usr/share/doc/perl-Ouch/README
/usr/share/licenses/perl-Ouch
/usr/share/licenses/perl-Ouch/LICENSE
/usr/share/man/man3/Ouch.3pm.gz
/usr/share/perl5/vendor_perl/Ouch.pm

References

Summary

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