# Rpm-Qa | grep PCRE // Whether the PCRE is installed in the query system. Generally, the system is installed by default, so we need to delete the built-in
# Cp/lib/libpcre. so.0/ // Before deleting the built-in PCRE, back up libpcre. so.0 file, because the RPM package is too correlated, no libpcre after deletion. we cannot install PCRE in so.0.
# Rpm-e -- nodeps pcre-6.6-1.1 // Delete the built-in PCRE
# Tar zxvf pcre-pcre-8.30.tar.gz
# Cd pcre-8.30
# Cp/libpcre. so.0/lib/ // Copy libpcre. so.0 backed up before removing the built-in PCRE to the/lib directory.
#./Configure // Configure PCRE. Because PCRE is a library rather than a program such as pache, PHP, and Postfix, you can select the default path during installation, this will avoid unnecessary troubles when installing other things later. After executing this section, it will be displayed, which shows our PCRE configuration.
# Make
# Make install
Check whether the installation is complete: pcregrep-V