How To Install perl-Opcode on Fedora 36

In this tutorial we learn how to install perl-Opcode in Fedora 36. perl-Opcode is Disable named opcodes when compiling a perl code

Introduction

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

What is perl-Opcode

The Opcode module allows you to define an operator mask to be in effect when perl next compiles any code. Attempting to compile code which contains a masked opcode will cause the compilation to fail with an error. The code will not be executed.

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

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

sudo dnf -y install perl-Opcode

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

sudo yum -y install perl-Opcode

How To Uninstall perl-Opcode on Fedora 36

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

sudo dnf remove perl-Opcode

perl-Opcode Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/44be3dfc02c27e18b0c2aa2767f2ade057102d
/usr/lib64/perl5/Opcode.pm
/usr/lib64/perl5/auto/Opcode
/usr/lib64/perl5/auto/Opcode/Opcode.so
/usr/lib64/perl5/ops.pm
/usr/share/man/man3/Opcode.3pm.gz
/usr/share/man/man3/ops.3pm.gz

References

Summary

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