How To Install pcre2-syntax on Fedora 36

In this tutorial we learn how to install pcre2-syntax in Fedora 36. pcre2-syntax is Documentation for PCRE2 regular expressions

Introduction

In this tutorial we learn how to install pcre2-syntax on Fedora 36.

What is pcre2-syntax

This is a set of manual pages that document a syntax of the regular expressions implemented by the PCRE2 library.

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

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

sudo dnf -y install pcre2-syntax

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

sudo yum -y install pcre2-syntax

How To Uninstall pcre2-syntax on Fedora 36

To uninstall only the pcre2-syntax package we can use the following command:

sudo dnf remove pcre2-syntax

pcre2-syntax Package Contents on Fedora 36

/usr/share/doc/pcre2-syntax
/usr/share/doc/pcre2-syntax/AUTHORS
/usr/share/doc/pcre2-syntax/ChangeLog
/usr/share/doc/pcre2-syntax/NEWS
/usr/share/licenses/pcre2-syntax
/usr/share/licenses/pcre2-syntax/COPYING
/usr/share/licenses/pcre2-syntax/LICENCE
/usr/share/man/man3/pcre2.3.gz
/usr/share/man/man3/pcre2compat.3.gz
/usr/share/man/man3/pcre2limits.3.gz
/usr/share/man/man3/pcre2matching.3.gz
/usr/share/man/man3/pcre2partial.3.gz
/usr/share/man/man3/pcre2pattern.3.gz
/usr/share/man/man3/pcre2perform.3.gz
/usr/share/man/man3/pcre2syntax.3.gz
/usr/share/man/man3/pcre2unicode.3.gz

References

Summary

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