How To Install perl-Perl-Destruct-Level on Rocky Linux 8

In this tutorial we learn how to install perl-Perl-Destruct-Level on Rocky Linux 8. perl-Perl-Destruct-Level is Allows you to change perl’s internal destruction level

Introduction

In this tutorial we learn how to install perl-Perl-Destruct-Level on Rocky Linux 8.

What is perl-Perl-Destruct-Level

This module allows you to change perl’s internal destruction level. The default value of the destruct level is 0; it means that perl won’t bother destroying all of its internal data structures and lets the OS do the cleanup for it at exit. For perls built with debugging support (-DDEBUGGING), an environment variable PERL_DESTRUCT_LEVEL allows you to control the destruction level. This module enables you to modify it on non-debugging perls too. Note that some embedded environments might extend the meaning of the destruction level for their own purposes

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

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

sudo dnf -y install perl-Perl-Destruct-Level

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

sudo yum -y install perl-Perl-Destruct-Level

How To Uninstall perl-Perl-Destruct-Level on Rocky Linux 8

To uninstall only the perl-Perl-Destruct-Level package we can use the following command:

sudo dnf remove perl-Perl-Destruct-Level

perl-Perl-Destruct-Level Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/51bd1db4d94eec38d411f5a1ffe1ea8680b787
/usr/lib64/perl5/vendor_perl/Perl
/usr/lib64/perl5/vendor_perl/Perl/Destruct
/usr/lib64/perl5/vendor_perl/Perl/Destruct/Level.pm
/usr/lib64/perl5/vendor_perl/auto/Perl
/usr/lib64/perl5/vendor_perl/auto/Perl/Destruct
/usr/lib64/perl5/vendor_perl/auto/Perl/Destruct/Level
/usr/lib64/perl5/vendor_perl/auto/Perl/Destruct/Level/Level.so
/usr/share/man/man3/Perl::Destruct::Level.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Perl-Destruct-Level on Rocky Linux 8 using yum and dnf.