How To Install perl-B on Fedora 36

In this tutorial we learn how to install perl-B in Fedora 36. perl-B is Perl compiler backend

Introduction

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

What is perl-B

The “B” module supplies classes which allow a Perl program to delve into its own innards. It is the module used to implement the backends of the Perl compiler.

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

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

sudo dnf -y install perl-B

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

sudo yum -y install perl-B

How To Uninstall perl-B on Fedora 36

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

sudo dnf remove perl-B

perl-B Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/c4406d1859e9f32b5139767c182428d0c77a4a
/usr/lib64/perl5/B
/usr/lib64/perl5/B.pm
/usr/lib64/perl5/B/Concise.pm
/usr/lib64/perl5/B/Showlex.pm
/usr/lib64/perl5/B/Terse.pm
/usr/lib64/perl5/B/Xref.pm
/usr/lib64/perl5/O.pm
/usr/lib64/perl5/auto/B
/usr/lib64/perl5/auto/B/B.so
/usr/share/man/man3/B.3pm.gz
/usr/share/man/man3/B::Concise.3pm.gz
/usr/share/man/man3/B::Deparse.3pm.gz
/usr/share/man/man3/B::Op_private.3pm.gz
/usr/share/man/man3/B::Showlex.3pm.gz
/usr/share/man/man3/B::Terse.3pm.gz
/usr/share/man/man3/B::Xref.3pm.gz
/usr/share/man/man3/O.3pm.gz
/usr/share/perl5/B
/usr/share/perl5/B/Deparse.pm
/usr/share/perl5/B/Op_private.pm

References

Summary

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