How To Install perl-Devel-Trace on Fedora 36

In this tutorial we learn how to install perl-Devel-Trace in Fedora 36. perl-Devel-Trace is Print out each line before it is executed (like sh -x)

Introduction

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

What is perl-Devel-Trace

If you run your program with perl -d a message to standard error just before each line is executed. This is something like the shell’s -x option.

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

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

sudo dnf -y install perl-Devel-Trace

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

sudo yum -y install perl-Devel-Trace

How To Uninstall perl-Devel-Trace on Fedora 36

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

sudo dnf remove perl-Devel-Trace

perl-Devel-Trace Package Contents on Fedora 36

/usr/share/doc/perl-Devel-Trace
/usr/share/doc/perl-Devel-Trace/Changes
/usr/share/doc/perl-Devel-Trace/README
/usr/share/doc/perl-Devel-Trace/demo.pl
/usr/share/doc/perl-Devel-Trace/sample
/usr/share/man/man3/Devel::Trace.3pm.gz
/usr/share/perl5/vendor_perl/Devel
/usr/share/perl5/vendor_perl/Devel/Trace.pm

References

Summary

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