< Home - < Back

pcre2


Information about the package, pcre2, which is shipped with common Linux distributions. The pcre2 package is designed for, Perl-compatible regular expression library.


Package Name:

pcre2

Summary:

Perl-compatible regular expression library

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. 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.

Architecture:

x86_64

Version:

10.21

Release:

21.el6

Size:

394 k

Repository:

epel

From Repository:

Licence:

BSD



Handy Yum Commands for pcre2


Control the pcre2 package with the following handy commands outlined below.


Command

Description of Command

yum install pcre2

This command will install pcre2 on the server.

yum remove pcre2

This command will un-install pcre2 on the server. When you run this command, you will be asked if you are sure that you want to remove pcre2, so you have to manually confirm that you want to do this.

yum -y remove pcre2

This command will un-install pcre2 on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove pcre2 when using the -y flag.

yum update pcre2

This command will update pcre2 to the latest version. When you run this command, you will be asked if you are sure that you want to remove pcre2, so you have to manually confirm that you want to do this.

yum -y update pcre2

This command will update pcre2 to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove pcre2 when using the -y flag.

yum info pcre2

This command will show you core information about the pcre2 package.

yum deplist pcre2

This command will show you the dependencies for pcre2. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update pcre2

This command will check if there is an update waiting on pcre2. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.