How To Install perl-Carp-REPL on Fedora 36

In this tutorial we learn how to install perl-Carp-REPL in Fedora 36. perl-Carp-REPL is Read-eval-print-loop on die and/or warn

Introduction

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

What is perl-Carp-REPL

Carp-REPL is a debugging aid for Perl programs. When a program dies (or warns), you get a REPL instead of dying or continuing blindly.

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

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

sudo dnf -y install perl-Carp-REPL

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

sudo yum -y install perl-Carp-REPL

How To Uninstall perl-Carp-REPL on Fedora 36

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

sudo dnf remove perl-Carp-REPL

perl-Carp-REPL Package Contents on Fedora 36

/usr/share/doc/perl-Carp-REPL
/usr/share/doc/perl-Carp-REPL/Changes
/usr/share/man/man3/Carp::REPL.3pm.gz
/usr/share/man/man3/Devel::REPL::Plugin::Carp::REPL.3pm.gz
/usr/share/perl5/vendor_perl/Carp
/usr/share/perl5/vendor_perl/Carp/REPL.pm
/usr/share/perl5/vendor_perl/Devel
/usr/share/perl5/vendor_perl/Devel/REPL
/usr/share/perl5/vendor_perl/Devel/REPL/Plugin
/usr/share/perl5/vendor_perl/Devel/REPL/Plugin/Carp
/usr/share/perl5/vendor_perl/Devel/REPL/Plugin/Carp/REPL.pm

References

Summary

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