How To Install pcre.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install pcre.x86_64 on Amazon Linux 2.
What is pcre.x86_64
Perl-compatible regular expression library. PCRE has its own native API, but a set of “wrapper” functions that are based on the POSIX API are also supplied in the library libpcreposix. Note that this just provides a POSIX calling interface to PCRE Perl syntax and semantics. The header file for the POSIX-style functions is called pcreposix.h.
We can use yum to install pcre.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pcre.x86_64.
Install pcre.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pcre.x86_64 using yum by running the following command:
sudo yum -y install pcre.x86_64
How To Uninstall pcre.x86_64 on Amazon Linux 2
To uninstall only the pcre.x86_64 package we can use the following command:
sudo yum remove pcre.x86_64
pcre.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libpcre.so.1
/usr/lib64/libpcre.so.1.2.0
/usr/lib64/libpcre16.so.0
/usr/lib64/libpcre16.so.0.2.0
/usr/lib64/libpcre32.so.0
/usr/lib64/libpcre32.so.0.0.0
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcreposix.so.0
/usr/lib64/libpcreposix.so.0.0.1
/usr/share/doc/pcre-8.32
/usr/share/doc/pcre-8.32/AUTHORS
/usr/share/doc/pcre-8.32/COPYING
/usr/share/doc/pcre-8.32/ChangeLog
/usr/share/doc/pcre-8.32/LICENCE
/usr/share/doc/pcre-8.32/NEWS
/usr/share/doc/pcre-8.32/README
References
Summary
In this tutorial we learn how to install pcre.x86_64 on Amazon Linux 2 using yum.