How To Install pcre-utf32 on Rocky Linux 8

In this tutorial we learn how to install pcre-utf32 on Rocky Linux 8. pcre-utf32 is UTF-32 variant of PCRE

Introduction

In this tutorial we learn how to install pcre-utf32 on Rocky Linux 8.

What is pcre-utf32

This is Perl-compatible regular expression library working on UTF-32 strings. Detailed change log is provided by pcre-doc package.

We can use yum or dnf to install pcre-utf32 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcre-utf32.

Install pcre-utf32 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install pcre-utf32 using dnf by running the following command:

sudo dnf -y install pcre-utf32

Install pcre-utf32 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pcre-utf32 using yum by running the following command:

sudo yum -y install pcre-utf32

How To Uninstall pcre-utf32 on Rocky Linux 8

To uninstall only the pcre-utf32 package we can use the following command:

sudo dnf remove pcre-utf32

pcre-utf32 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/2feb1da7ad76cf9826fee5ef6038dc511ffb45
/usr/lib/libpcre32.so.0
/usr/lib/libpcre32.so.0.0.10
/usr/share/doc/pcre-utf32
/usr/share/doc/pcre-utf32/AUTHORS
/usr/share/doc/pcre-utf32/NEWS
/usr/share/licenses/pcre-utf32
/usr/share/licenses/pcre-utf32/COPYING
/usr/share/licenses/pcre-utf32/LICENCE
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/ff830f383ea30433c017a0922d710c7854f624
/usr/lib64/libpcre32.so.0
/usr/lib64/libpcre32.so.0.0.10
/usr/share/doc/pcre-utf32
/usr/share/doc/pcre-utf32/AUTHORS
/usr/share/doc/pcre-utf32/NEWS
/usr/share/licenses/pcre-utf32
/usr/share/licenses/pcre-utf32/COPYING
/usr/share/licenses/pcre-utf32/LICENCE

References

Summary

In this tutorial we learn how to install pcre-utf32 on Rocky Linux 8 using yum and dnf.