How To Install ocaml-pcre-devel on Fedora 36

In this tutorial we learn how to install ocaml-pcre-devel in Fedora 36. ocaml-pcre-devel is Development files for ocaml-pcre

Introduction

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

What is ocaml-pcre-devel

The ocaml-pcre-devel package contains libraries and signature files for developing applications that use ocaml-pcre.

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

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

sudo dnf -y install ocaml-pcre-devel

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

sudo yum -y install ocaml-pcre-devel

How To Uninstall ocaml-pcre-devel on Fedora 36

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

sudo dnf remove ocaml-pcre-devel

ocaml-pcre-devel Package Contents on Fedora 36

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

## Introduction

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

### What is `ocaml-pcre-devel`

> The ocaml-pcre-devel package contains libraries and signature files for developing applications that use ocaml-pcre.  

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

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

sudo dnf -y install ocaml-pcre-devel

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

sudo yum -y install ocaml-pcre-devel

How To Uninstall ocaml-pcre-devel on Fedora 36

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

sudo dnf remove ocaml-pcre-devel

ocaml-pcre-devel Package Contents on Fedora 36

/usr/lib64/ocaml/pcre/dune-package
/usr/lib64/ocaml/pcre/libpcre_stubs.a
/usr/lib64/ocaml/pcre/opam
/usr/lib64/ocaml/pcre/pcre.a
/usr/lib64/ocaml/pcre/pcre.cmt
/usr/lib64/ocaml/pcre/pcre.cmti
/usr/lib64/ocaml/pcre/pcre.cmx
/usr/lib64/ocaml/pcre/pcre.cmxa
/usr/lib64/ocaml/pcre/pcre.mli
/usr/share/doc/ocaml-pcre-devel
/usr/share/doc/ocaml-pcre-devel/_html
/usr/share/doc/ocaml-pcre-devel/_html/highlight.pack.js
/usr/share/doc/ocaml-pcre-devel/_html/index.html
/usr/share/doc/ocaml-pcre-devel/_html/odoc.css
/usr/share/doc/ocaml-pcre-devel/_html/pcre
/usr/share/doc/ocaml-pcre-devel/_html/pcre/Pcre
/usr/share/doc/ocaml-pcre-devel/_html/pcre/Pcre/index.html
/usr/share/doc/ocaml-pcre-devel/_html/pcre/index.html
/usr/share/doc/ocaml-pcre-devel/_mlds
/usr/share/doc/ocaml-pcre-devel/_mlds/pcre
/usr/share/doc/ocaml-pcre-devel/_mlds/pcre/index.mld
/usr/share/doc/ocaml-pcre-devel/_odoc
/usr/share/doc/ocaml-pcre-devel/_odoc/pkg
/usr/share/doc/ocaml-pcre-devel/_odoc/pkg/pcre
/usr/share/doc/ocaml-pcre-devel/_odoc/pkg/pcre/page-index.odoc
/usr/share/doc/ocaml-pcre-devel/_odoc/pkg/pcre/page-index.odocl

References

Summary

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

/usr/lib/ocaml/pcre/dune-package /usr/lib/ocaml/pcre/libpcre_stubs.a /usr/lib/ocaml/pcre/opam /usr/lib/ocaml/pcre/pcre.a /usr/lib/ocaml/pcre/pcre.cmt /usr/lib/ocaml/pcre/pcre.cmti /usr/lib/ocaml/pcre/pcre.cmx /usr/lib/ocaml/pcre/pcre.cmxa /usr/lib/ocaml/pcre/pcre.mli /usr/share/doc/ocaml-pcre-devel /usr/share/doc/ocaml-pcre-devel/_html /usr/share/doc/ocaml-pcre-devel/_html/highlight.pack.js /usr/share/doc/ocaml-pcre-devel/_html/index.html /usr/share/doc/ocaml-pcre-devel/_html/odoc.css /usr/share/doc/ocaml-pcre-devel/_html/pcre /usr/share/doc/ocaml-pcre-devel/_html/pcre/Pcre /usr/share/doc/ocaml-pcre-devel/_html/pcre/Pcre/index.html /usr/share/doc/ocaml-pcre-devel/_html/pcre/index.html /usr/share/doc/ocaml-pcre-devel/_mlds /usr/share/doc/ocaml-pcre-devel/_mlds/pcre /usr/share/doc/ocaml-pcre-devel/_mlds/pcre/index.mld /usr/share/doc/ocaml-pcre-devel/_odoc /usr/share/doc/ocaml-pcre-devel/_odoc/pkg /usr/share/doc/ocaml-pcre-devel/_odoc/pkg/pcre /usr/share/doc/ocaml-pcre-devel/_odoc/pkg/pcre/page-index.odoc /usr/share/doc/ocaml-pcre-devel/_odoc/pkg/pcre/page-index.odocl


## References

* [ocaml-pcre-devel website](https://github.com/mmottl/pcre-ocaml/)

## Summary

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