How To Install pcre.i686 on Amazon Linux 2

In this tutorial we learn how to install pcre.i686 in Amazon Linux 2. pcre.i686 is Perl-compatible regular expression library

Introduction

In this tutorial we learn how to install pcre.i686 on Amazon Linux 2.

What is pcre.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pcre.i686.

Install pcre.i686 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.i686 using yum by running the following command:

sudo yum -y install pcre.i686

How To Uninstall pcre.i686 on Amazon Linux 2

To uninstall only the pcre.i686 package we can use the following command:

sudo yum remove pcre.i686

pcre.i686 Package Contents on Amazon Linux 2

/usr/lib/libpcre.so.1
/usr/lib/libpcre.so.1.2.0
/usr/lib/libpcre16.so.0
/usr/lib/libpcre16.so.0.2.0
/usr/lib/libpcre32.so.0
/usr/lib/libpcre32.so.0.0.0
/usr/lib/libpcrecpp.so.0
/usr/lib/libpcrecpp.so.0.0.0
/usr/lib/libpcreposix.so.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.