How To Install jpcre2-devel on Fedora 36

In this tutorial we learn how to install jpcre2-devel in Fedora 36. jpcre2-devel is C++ wrapper for PCRE2 library

Introduction

In this tutorial we learn how to install jpcre2-devel on Fedora 36.

What is jpcre2-devel

PCRE2 is the name used for a revised API for the PCRE library, which is a set of functions, written in C, that implement regular expression pattern matching using the same syntax and semantics as Perl, with just a few differences. Some features that appeared in Python and the original PCRE before they appeared in Perl are also available using the Python syntax. This provides some C++ wrapper classes/functions to perform regex operations such as regex match and regex replace.

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

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

sudo dnf -y install jpcre2-devel

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

sudo yum -y install jpcre2-devel

How To Uninstall jpcre2-devel on Fedora 36

To uninstall only the jpcre2-devel package we can use the following command:

sudo dnf remove jpcre2-devel

jpcre2-devel Package Contents on Fedora 36

/usr/include/jpcre2.hpp
/usr/share/doc/jpcre2
/usr/share/doc/jpcre2/AUTHORS
/usr/share/doc/jpcre2/ChangeLog
/usr/share/doc/jpcre2/README.md
/usr/share/licenses/jpcre2
/usr/share/licenses/jpcre2/COPYING

References

Summary

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