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

In this tutorial we learn how to install perl-re-engine-PCRE in Fedora 36. perl-re-engine-PCRE is Perl-compatible regular expression engine

Introduction

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

What is perl-re-engine-PCRE

This allows to replace perl’s regular expression engine in a given lexical scope with PCRE regular expressions provided by pcre library.

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

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

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

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

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

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

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

sudo dnf remove perl-re-engine-PCRE

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

/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/02fab6770dd9d4bd2b6bad15f2a56d109060b2
/usr/lib64/perl5/vendor_perl/auto/re
/usr/lib64/perl5/vendor_perl/auto/re/engine
/usr/lib64/perl5/vendor_perl/auto/re/engine/PCRE
/usr/lib64/perl5/vendor_perl/auto/re/engine/PCRE/PCRE.so
/usr/lib64/perl5/vendor_perl/re
/usr/lib64/perl5/vendor_perl/re/engine
/usr/lib64/perl5/vendor_perl/re/engine/PCRE.pm
/usr/share/doc/perl-re-engine-PCRE
/usr/share/doc/perl-re-engine-PCRE/Changes
/usr/share/doc/perl-re-engine-PCRE/README
/usr/share/licenses/perl-re-engine-PCRE
/usr/share/licenses/perl-re-engine-PCRE/LICENSE
/usr/share/man/man3/re::engine::PCRE.3pm.gz

References

Summary

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