How To Install perl-B-Compiling on Rocky Linux 8

In this tutorial we learn how to install perl-B-Compiling on Rocky Linux 8. perl-B-Compiling is Expose PL_compiling to perl

Introduction

In this tutorial we learn how to install perl-B-Compiling on Rocky Linux 8.

What is perl-B-Compiling

This module exposes the perl interpreter’s PL_compiling variable to perl.

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

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

sudo dnf -y install perl-B-Compiling

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

sudo yum -y install perl-B-Compiling

How To Uninstall perl-B-Compiling on Rocky Linux 8

To uninstall only the perl-B-Compiling package we can use the following command:

sudo dnf remove perl-B-Compiling

perl-B-Compiling Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/0c6eb87208e308346a13ac349b3187e9e24c7a
/usr/lib64/perl5/vendor_perl/B
/usr/lib64/perl5/vendor_perl/B/Compiling.pm
/usr/lib64/perl5/vendor_perl/auto/B
/usr/lib64/perl5/vendor_perl/auto/B/Compiling
/usr/lib64/perl5/vendor_perl/auto/B/Compiling/Compiling.so
/usr/share/doc/perl-B-Compiling
/usr/share/doc/perl-B-Compiling/Changes
/usr/share/doc/perl-B-Compiling/README
/usr/share/licenses/perl-B-Compiling
/usr/share/licenses/perl-B-Compiling/LICENSE
/usr/share/man/man3/B::Compiling.3pm.gz

References

Summary

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