How to Install and Uninstall pcre2.src Package on Oracle Linux 9

Last updated: October 06,2024

1. Install "pcre2.src" package

This tutorial shows how to install pcre2.src on Oracle Linux 9

$ sudo dnf update $ sudo dnf install pcre2.src

2. Uninstall "pcre2.src" package

In this section, we are going to explain the necessary steps to uninstall pcre2.src on Oracle Linux 9:

$ sudo dnf remove pcre2.src $ sudo dnf autoremove

3. Information about the pcre2.src package on Oracle Linux 9

Last metadata expiration check: 2:47:52 ago on Thu Feb 15 07:50:05 2024.
Available Packages
Name : pcre2
Version : 10.40
Release : 2.0.2.el9
Architecture : src
Size : 1.7 M
Source : None
Repository : ol9_appstream
Summary : Perl-compatible regular expression library
URL : https://www.pcre.org/
License : BSD
Description : PCRE2 is a re-working of the original PCRE (Perl-compatible regular
: expression) library to provide an entirely new API.
:
: PCRE2 is written in C, and it has its own API. There are three sets of
: functions, one for the 8-bit library, which processes strings of bytes, one
: for the 16-bit library, which processes strings of 16-bit values, and one for
: the 32-bit library, which processes strings of 32-bit values. There are no C++
: wrappers. This package provides support for strings in 8-bit and UTF-8
: encodings. Install pcre2-utf16 or pcre2-utf32 packages for the other ones.
:
: The distribution does contain a set of C wrapper functions for the 8-bit
: library that are based on the POSIX regular expression API (see the pcre2posix
: man page). These can be found in a library called libpcre2posix. Note that
: this just provides a POSIX calling interface to PCRE2; the regular expressions
: themselves still follow Perl syntax and semantics. The POSIX API is
: restricted, and does not give full access to all of PCRE2's facilities.

Name : pcre2
Version : 10.40
Release : 2.0.2.el9
Architecture : src
Size : 1.7 M
Source : None
Repository : ol9_baseos_latest
Summary : Perl-compatible regular expression library
URL : https://www.pcre.org/
License : BSD
Description : PCRE2 is a re-working of the original PCRE (Perl-compatible regular
: expression) library to provide an entirely new API.
:
: PCRE2 is written in C, and it has its own API. There are three sets of
: functions, one for the 8-bit library, which processes strings of bytes, one
: for the 16-bit library, which processes strings of 16-bit values, and one for
: the 32-bit library, which processes strings of 32-bit values. There are no C++
: wrappers. This package provides support for strings in 8-bit and UTF-8
: encodings. Install pcre2-utf16 or pcre2-utf32 packages for the other ones.
:
: The distribution does contain a set of C wrapper functions for the 8-bit
: library that are based on the POSIX regular expression API (see the pcre2posix
: man page). These can be found in a library called libpcre2posix. Note that
: this just provides a POSIX calling interface to PCRE2; the regular expressions
: themselves still follow Perl syntax and semantics. The POSIX API is
: restricted, and does not give full access to all of PCRE2's facilities.