How To Install perl-re-engine-RE2 on Fedora 36

In this tutorial we learn how to install perl-re-engine-RE2 in Fedora 36. perl-re-engine-RE2 is RE2 regex engine

Introduction

In this tutorial we learn how to install perl-re-engine-RE2 on Fedora 36.

What is perl-re-engine-RE2

This module replaces perl’s regex engine in a given lexical scope with RE2.

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

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

sudo dnf -y install perl-re-engine-RE2

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

sudo yum -y install perl-re-engine-RE2

How To Uninstall perl-re-engine-RE2 on Fedora 36

To uninstall only the perl-re-engine-RE2 package we can use the following command:

sudo dnf remove perl-re-engine-RE2

perl-re-engine-RE2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/a714eebda33ec42175d0717d3ecec6c8594606
/usr/lib64/perl5/vendor_perl/auto/re
/usr/lib64/perl5/vendor_perl/auto/re/engine
/usr/lib64/perl5/vendor_perl/auto/re/engine/RE2
/usr/lib64/perl5/vendor_perl/auto/re/engine/RE2/RE2.so
/usr/lib64/perl5/vendor_perl/re
/usr/lib64/perl5/vendor_perl/re/engine
/usr/lib64/perl5/vendor_perl/re/engine/RE2.pm
/usr/share/doc/perl-re-engine-RE2
/usr/share/doc/perl-re-engine-RE2/Changes
/usr/share/doc/perl-re-engine-RE2/README
/usr/share/doc/perl-re-engine-RE2/TODO
/usr/share/man/man3/re::engine::RE2.3pm.gz

References

Summary

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