How To Install perl-Devel-Leak on Rocky Linux 8

In this tutorial we learn how to install perl-Devel-Leak on Rocky Linux 8. perl-Devel-Leak is Utility for looking for perl objects that are not reclaimed

Introduction

In this tutorial we learn how to install perl-Devel-Leak on Rocky Linux 8.

What is perl-Devel-Leak

This module provides a basic way to discover if a piece of perl code is allocating perl data and not releasing them again.

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

Install perl-Devel-Leak on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Devel-Leak using dnf by running the following command:

sudo dnf -y install perl-Devel-Leak

Install perl-Devel-Leak on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Devel-Leak using yum by running the following command:

sudo yum -y install perl-Devel-Leak

How To Uninstall perl-Devel-Leak on Rocky Linux 8

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

sudo dnf remove perl-Devel-Leak

perl-Devel-Leak Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/f5d1957e32252261fac91882f6f84e1294bc1b
/usr/lib64/perl5/vendor_perl/Devel
/usr/lib64/perl5/vendor_perl/Devel/Leak.pm
/usr/lib64/perl5/vendor_perl/auto/Devel
/usr/lib64/perl5/vendor_perl/auto/Devel/Leak
/usr/lib64/perl5/vendor_perl/auto/Devel/Leak/Leak.so
/usr/share/doc/perl-Devel-Leak
/usr/share/doc/perl-Devel-Leak/README
/usr/share/man/man3/Devel::Leak.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Devel-Leak on Rocky Linux 8 using yum and dnf.