How To Install pcre-static on Fedora 36

In this tutorial we learn how to install pcre-static in Fedora 36. pcre-static is Static library for pcre

Introduction

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

What is pcre-static

Library for static linking for pcre.

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

Install pcre-static 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-static using dnf by running the following command:

sudo dnf -y install pcre-static

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

sudo yum -y install pcre-static

How To Uninstall pcre-static on Fedora 36

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

sudo dnf remove pcre-static

pcre-static Package Contents on Fedora 36

---
title: "How To Install pcre-static on Fedora 36"
linkTitle: "pcre-static"
type: "docs"
description: "In this tutorial we learn how to install pcre-static in Fedora 36. pcre-static is Static library for pcre"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/pcre-static-featured.png
---

## Introduction

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

### What is `pcre-static`

> Library for static linking for pcre.  

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

## Install pcre-static on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install pcre-static

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

sudo yum -y install pcre-static

How To Uninstall pcre-static on Fedora 36

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

sudo dnf remove pcre-static

pcre-static Package Contents on Fedora 36

/usr/lib64/libpcre.a
/usr/lib64/libpcre16.a
/usr/lib64/libpcre32.a
/usr/lib64/libpcrecpp.a
/usr/lib64/libpcreposix.a
/usr/share/licenses/pcre-static
/usr/share/licenses/pcre-static/COPYING
/usr/share/licenses/pcre-static/LICENCE

References

Summary

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

/usr/lib/libpcre.a /usr/lib/libpcre16.a /usr/lib/libpcre32.a /usr/lib/libpcrecpp.a /usr/lib/libpcreposix.a /usr/share/licenses/pcre-static /usr/share/licenses/pcre-static/COPYING /usr/share/licenses/pcre-static/LICENCE


## References

* [pcre-static website](https://www.pcre.org/)

## Summary

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