How To Install perl-Gtk2-Ex-Carp on Fedora 36

In this tutorial we learn how to install perl-Gtk2-Ex-Carp in Fedora 36. perl-Gtk2-Ex-Carp is GTK+ friendly die() and warn() functions

Introduction

In this tutorial we learn how to install perl-Gtk2-Ex-Carp on Fedora 36.

What is perl-Gtk2-Ex-Carp

This module exports four functions, of which two override the standard die() and warn() functions, and two which allow for extended error reporting. When called, these functions display a user-friendly message dialog window.

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

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

sudo dnf -y install perl-Gtk2-Ex-Carp

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

sudo yum -y install perl-Gtk2-Ex-Carp

How To Uninstall perl-Gtk2-Ex-Carp on Fedora 36

To uninstall only the perl-Gtk2-Ex-Carp package we can use the following command:

sudo dnf remove perl-Gtk2-Ex-Carp

perl-Gtk2-Ex-Carp Package Contents on Fedora 36

/usr/share/doc/perl-Gtk2-Ex-Carp
/usr/share/doc/perl-Gtk2-Ex-Carp/README
/usr/share/man/man3/Gtk2::Ex::Carp.3pm.gz
/usr/share/perl5/vendor_perl/Gtk2
/usr/share/perl5/vendor_perl/Gtk2/Ex
/usr/share/perl5/vendor_perl/Gtk2/Ex/Carp.pm

References

Summary

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