How To Install pcre-tools on Fedora 36

In this tutorial we learn how to install pcre-tools in Fedora 36. pcre-tools is Auxiliary utilities for pcre

Introduction

In this tutorial we learn how to install pcre-tools on Fedora 36.

What is pcre-tools

Utilities demonstrating PCRE capabilities like pcregrep or pcretest.

We can use yum or dnf to install pcre-tools on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcre-tools.

Install pcre-tools on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install pcre-tools

Install pcre-tools on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install pcre-tools

How To Uninstall pcre-tools on Fedora 36

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

sudo dnf remove pcre-tools

pcre-tools Package Contents on Fedora 36

/usr/bin/pcregrep
/usr/bin/pcretest
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/f3187af08cd4c0052c83af0b8184d521883e84
/usr/lib/.build-id/91
/usr/lib/.build-id/91/ad24f10dcee2e61e843b4471eb36c806b0744d
/usr/share/man/man1/pcregrep.1.gz
/usr/share/man/man1/pcretest.1.gz

References

Summary

In this tutorial we learn how to install pcre-tools on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).