How To Install ocaml-pcre on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-pcre
on Fedora 36.
What is ocaml-pcre
Perl compatibility regular expressions (PCRE) for OCaml.
We can use yum
or dnf
to install ocaml-pcre
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-pcre.
Install ocaml-pcre 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
using dnf
by running the following command:
sudo dnf -y install ocaml-pcre
Install ocaml-pcre 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
using yum
by running the following command:
sudo yum -y install ocaml-pcre
How To Uninstall ocaml-pcre on Fedora 36
To uninstall only the ocaml-pcre
package we can use the following command:
sudo dnf remove ocaml-pcre
ocaml-pcre Package Contents on Fedora 36
---
title: "How To Install ocaml-pcre on Fedora 36"
linkTitle: "ocaml-pcre"
type: "docs"
description: "In this tutorial we learn how to install ocaml-pcre in Fedora 36. ocaml-pcre is Perl compatibility regular expressions (PCRE) for OCaml"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-pcre-featured.png
---
## Introduction
In this tutorial we learn how to install `ocaml-pcre` on Fedora 36.
### What is `ocaml-pcre`
> Perl compatibility regular expressions (PCRE) for OCaml.
We can use `yum` or `dnf` to install `ocaml-pcre` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-pcre.
## Install ocaml-pcre 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
using dnf
by running the following command:
sudo dnf -y install ocaml-pcre
Install ocaml-pcre on Fedora 36 Using yum
Update yum database with yum
using the following command.
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/08a8d4e99f1b5a733527ffebadacf781f8a11a
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/e058b6d2baef546d4c5f293658eef1da134011
/usr/lib/ocaml/pcre
/usr/lib/ocaml/pcre/META
/usr/lib/ocaml/pcre/pcre.cma
/usr/lib/ocaml/pcre/pcre.cmi
/usr/lib/ocaml/pcre/pcre.cmxs
/usr/lib/ocaml/stublibs/dllpcre_stubs.so
/usr/share/doc/ocaml-pcre
/usr/share/doc/ocaml-pcre/CHANGES.md
/usr/share/doc/ocaml-pcre/README.md
/usr/share/licenses/ocaml-pcre
/usr/share/licenses/ocaml-pcre/LICENSE.md
sudo yum makecache --refresh
After updating yum database, We can install ocaml-pcre
using yum
by running the following command:
sudo yum -y install ocaml-pcre
How To Uninstall ocaml-pcre on Fedora 36
To uninstall only the ocaml-pcre
package we can use the following command:
sudo dnf remove ocaml-pcre
ocaml-pcre Package Contents on Fedora 36
References
Summary
In this tutorial we learn how to install ocaml-pcre
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/b2 /usr/lib/.build-id/b2/3f19dad4dfb2a2606180bb98a1509a984e3b69 /usr/lib/.build-id/ed /usr/lib/.build-id/ed/a6e891866a3e77c927fda3bc24c1c9558ab273 /usr/lib64/ocaml/pcre /usr/lib64/ocaml/pcre/META /usr/lib64/ocaml/pcre/pcre.cma /usr/lib64/ocaml/pcre/pcre.cmi /usr/lib64/ocaml/pcre/pcre.cmxs /usr/lib64/ocaml/stublibs/dllpcre_stubs.so /usr/share/doc/ocaml-pcre /usr/share/doc/ocaml-pcre/CHANGES.md /usr/share/doc/ocaml-pcre/README.md /usr/share/licenses/ocaml-pcre /usr/share/licenses/ocaml-pcre/LICENSE.md
## References
* [ocaml-pcre website](https://github.com/mmottl/pcre-ocaml/)
## Summary
In this tutorial we learn how to install `ocaml-pcre` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).