How To Install ocaml-re on Fedora 36

In this tutorial we learn how to install ocaml-re in Fedora 36. ocaml-re is A regular expression library for OCaml

Introduction

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

What is ocaml-re

A pure OCaml regular expression library. Supports Perl-style regular expressions, Posix extended regular expressions, Emacs-style regular expressions, and shell-style file globbing. It is also possible to build regular expressions by combining simpler regular expressions. There is also a subset of the PCRE interface available in the Re.pcre library.

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

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

sudo dnf -y install ocaml-re

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

sudo yum -y install ocaml-re

How To Uninstall ocaml-re on Fedora 36

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

sudo dnf remove ocaml-re

ocaml-re Package Contents on Fedora 36

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

## Introduction

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

### What is `ocaml-re`

> A pure OCaml regular expression library. Supports Perl-style regular expressions, Posix extended regular expressions, Emacs-style regular expressions, and shell-style file globbing.  It is also possible to build regular expressions by combining simpler regular expressions. There is also a subset of the PCRE interface available in the Re.pcre library.  

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

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

sudo dnf -y install ocaml-re

Install ocaml-re on Fedora 36 Using yum

Update yum database with yum using the following command.

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/82fae435cceab35ae8e922de48f852dc1e5627
/usr/lib/.build-id/05
/usr/lib/.build-id/05/926d5b3ecdc1dee24354a7bd20b0cd42c128d8
/usr/lib/.build-id/38
/usr/lib/.build-id/38/23fb4e5ff6cd768fda1271990325847f730ee0
/usr/lib/.build-id/87
/usr/lib/.build-id/87/460f93ccd6f7bcf16a921d39b0e9a4a72e5efa
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/a679bab0ede29cf46e094225be197d962d27e8
/usr/lib/.build-id/be
/usr/lib/.build-id/be/48290b9720aafdb834abd1263d4d9852427891
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/6f2b779f46fce2c522459b913d4d6e16d67775
/usr/lib/ocaml/re
/usr/lib/ocaml/re/META
/usr/lib/ocaml/re/automata.ml
/usr/lib/ocaml/re/category.ml
/usr/lib/ocaml/re/color_map.ml
/usr/lib/ocaml/re/core.ml
/usr/lib/ocaml/re/cset.ml
/usr/lib/ocaml/re/dune-package
/usr/lib/ocaml/re/emacs
/usr/lib/ocaml/re/emacs.ml
/usr/lib/ocaml/re/emacs/re_emacs.a
/usr/lib/ocaml/re/emacs/re_emacs.cma
/usr/lib/ocaml/re/emacs/re_emacs.cmi
/usr/lib/ocaml/re/emacs/re_emacs.cmt
/usr/lib/ocaml/re/emacs/re_emacs.cmx
/usr/lib/ocaml/re/emacs/re_emacs.cmxa
/usr/lib/ocaml/re/emacs/re_emacs.cmxs
/usr/lib/ocaml/re/emacs/re_emacs.ml
/usr/lib/ocaml/re/fmt.ml
/usr/lib/ocaml/re/glob
/usr/lib/ocaml/re/glob.ml
/usr/lib/ocaml/re/glob/re_glob.a
/usr/lib/ocaml/re/glob/re_glob.cma
/usr/lib/ocaml/re/glob/re_glob.cmi
/usr/lib/ocaml/re/glob/re_glob.cmt
/usr/lib/ocaml/re/glob/re_glob.cmx
/usr/lib/ocaml/re/glob/re_glob.cmxa
/usr/lib/ocaml/re/glob/re_glob.cmxs
/usr/lib/ocaml/re/glob/re_glob.ml
/usr/lib/ocaml/re/group.ml
/usr/lib/ocaml/re/opam
/usr/lib/ocaml/re/pcre
/usr/lib/ocaml/re/pcre.ml
/usr/lib/ocaml/re/pcre/re_pcre.a
/usr/lib/ocaml/re/pcre/re_pcre.cma
/usr/lib/ocaml/re/pcre/re_pcre.cmi
/usr/lib/ocaml/re/pcre/re_pcre.cmt
/usr/lib/ocaml/re/pcre/re_pcre.cmx
/usr/lib/ocaml/re/pcre/re_pcre.cmxa
/usr/lib/ocaml/re/pcre/re_pcre.cmxs
/usr/lib/ocaml/re/pcre/re_pcre.ml
/usr/lib/ocaml/re/perl
/usr/lib/ocaml/re/perl.ml
/usr/lib/ocaml/re/perl/re_perl.a
/usr/lib/ocaml/re/perl/re_perl.cma
/usr/lib/ocaml/re/perl/re_perl.cmi
/usr/lib/ocaml/re/perl/re_perl.cmt
/usr/lib/ocaml/re/perl/re_perl.cmx
/usr/lib/ocaml/re/perl/re_perl.cmxa
/usr/lib/ocaml/re/perl/re_perl.cmxs
/usr/lib/ocaml/re/perl/re_perl.ml
/usr/lib/ocaml/re/pmark.ml
/usr/lib/ocaml/re/posix
/usr/lib/ocaml/re/posix.ml
/usr/lib/ocaml/re/posix/re_posix.a
/usr/lib/ocaml/re/posix/re_posix.cma
/usr/lib/ocaml/re/posix/re_posix.cmi
/usr/lib/ocaml/re/posix/re_posix.cmt
/usr/lib/ocaml/re/posix/re_posix.cmx
/usr/lib/ocaml/re/posix/re_posix.cmxa
/usr/lib/ocaml/re/posix/re_posix.cmxs
/usr/lib/ocaml/re/posix/re_posix.ml
/usr/lib/ocaml/re/re.cma
/usr/lib/ocaml/re/re.cmi
/usr/lib/ocaml/re/re.cmt
/usr/lib/ocaml/re/re.cmxs
/usr/lib/ocaml/re/re.ml
/usr/lib/ocaml/re/re__.cmi
/usr/lib/ocaml/re/re__.cmt
/usr/lib/ocaml/re/re__.ml
/usr/lib/ocaml/re/re__Automata.cmi
/usr/lib/ocaml/re/re__Automata.cmt
/usr/lib/ocaml/re/re__Automata.cmti
/usr/lib/ocaml/re/re__Category.cmi
/usr/lib/ocaml/re/re__Category.cmt
/usr/lib/ocaml/re/re__Category.cmti
/usr/lib/ocaml/re/re__Color_map.cmi
/usr/lib/ocaml/re/re__Color_map.cmt
/usr/lib/ocaml/re/re__Color_map.cmti
/usr/lib/ocaml/re/re__Core.cmi
/usr/lib/ocaml/re/re__Core.cmt
/usr/lib/ocaml/re/re__Core.cmti
/usr/lib/ocaml/re/re__Cset.cmi
/usr/lib/ocaml/re/re__Cset.cmt
/usr/lib/ocaml/re/re__Cset.cmti
/usr/lib/ocaml/re/re__Emacs.cmi
/usr/lib/ocaml/re/re__Emacs.cmt
/usr/lib/ocaml/re/re__Emacs.cmti
/usr/lib/ocaml/re/re__Fmt.cmi
/usr/lib/ocaml/re/re__Fmt.cmt
/usr/lib/ocaml/re/re__Glob.cmi
/usr/lib/ocaml/re/re__Glob.cmt
/usr/lib/ocaml/re/re__Glob.cmti
/usr/lib/ocaml/re/re__Group.cmi
/usr/lib/ocaml/re/re__Group.cmt
/usr/lib/ocaml/re/re__Group.cmti
/usr/lib/ocaml/re/re__Pcre.cmi
/usr/lib/ocaml/re/re__Pcre.cmt
/usr/lib/ocaml/re/re__Pcre.cmti
/usr/lib/ocaml/re/re__Perl.cmi
/usr/lib/ocaml/re/re__Perl.cmt
/usr/lib/ocaml/re/re__Perl.cmti
/usr/lib/ocaml/re/re__Pmark.cmi
/usr/lib/ocaml/re/re__Pmark.cmt
/usr/lib/ocaml/re/re__Pmark.cmti
/usr/lib/ocaml/re/re__Posix.cmi
/usr/lib/ocaml/re/re__Posix.cmt
/usr/lib/ocaml/re/re__Posix.cmti
/usr/lib/ocaml/re/re__Str.cmi
/usr/lib/ocaml/re/re__Str.cmt
/usr/lib/ocaml/re/re__Str.cmti
/usr/lib/ocaml/re/str
/usr/lib/ocaml/re/str.ml
/usr/lib/ocaml/re/str/re_str.a
/usr/lib/ocaml/re/str/re_str.cma
/usr/lib/ocaml/re/str/re_str.cmi
/usr/lib/ocaml/re/str/re_str.cmt
/usr/lib/ocaml/re/str/re_str.cmx
/usr/lib/ocaml/re/str/re_str.cmxa
/usr/lib/ocaml/re/str/re_str.cmxs
/usr/lib/ocaml/re/str/re_str.ml
/usr/share/doc/ocaml-re
/usr/share/doc/ocaml-re/CHANGES.md
/usr/share/doc/ocaml-re/README.md
/usr/share/licenses/ocaml-re
/usr/share/licenses/ocaml-re/LICENSE.md
sudo yum makecache --refresh

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

```bash

sudo yum -y install ocaml-re

References

How To Uninstall ocaml-re on Fedora 36

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

Summary

sudo dnf remove ocaml-re

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

ocaml-re Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/89
/usr/lib/.build-id/89/1aa553412287ebf055d914c13e4e09e1b50816
/usr/lib/.build-id/93
/usr/lib/.build-id/93/53297ead5082c013ed878b323623e65a3c131c
/usr/lib/.build-id/97
/usr/lib/.build-id/97/b7828f8876dbd212854419885bdb81007a221a
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/80c168883cb6b7e0d82c27aab729849f93d1e3
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/094609eaadf61bff96ec464939d04f3de3d948
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/1203ffc9a452261e944585ea2e0145dc0cb889
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/af5bcea5cea1ed5f47afc71f481356b0d7643b
/usr/lib64/ocaml/re
/usr/lib64/ocaml/re/META
/usr/lib64/ocaml/re/automata.ml
/usr/lib64/ocaml/re/category.ml
/usr/lib64/ocaml/re/color_map.ml
/usr/lib64/ocaml/re/core.ml
/usr/lib64/ocaml/re/cset.ml
/usr/lib64/ocaml/re/dune-package
/usr/lib64/ocaml/re/emacs
/usr/lib64/ocaml/re/emacs.ml
/usr/lib64/ocaml/re/emacs/re_emacs.a
/usr/lib64/ocaml/re/emacs/re_emacs.cma
/usr/lib64/ocaml/re/emacs/re_emacs.cmi
/usr/lib64/ocaml/re/emacs/re_emacs.cmt
/usr/lib64/ocaml/re/emacs/re_emacs.cmx
/usr/lib64/ocaml/re/emacs/re_emacs.cmxa
/usr/lib64/ocaml/re/emacs/re_emacs.cmxs
/usr/lib64/ocaml/re/emacs/re_emacs.ml
/usr/lib64/ocaml/re/fmt.ml
/usr/lib64/ocaml/re/glob
/usr/lib64/ocaml/re/glob.ml
/usr/lib64/ocaml/re/glob/re_glob.a
/usr/lib64/ocaml/re/glob/re_glob.cma
/usr/lib64/ocaml/re/glob/re_glob.cmi
/usr/lib64/ocaml/re/glob/re_glob.cmt
/usr/lib64/ocaml/re/glob/re_glob.cmx
/usr/lib64/ocaml/re/glob/re_glob.cmxa
/usr/lib64/ocaml/re/glob/re_glob.cmxs
/usr/lib64/ocaml/re/glob/re_glob.ml
/usr/lib64/ocaml/re/group.ml
/usr/lib64/ocaml/re/opam
/usr/lib64/ocaml/re/pcre
/usr/lib64/ocaml/re/pcre.ml
/usr/lib64/ocaml/re/pcre/re_pcre.a
/usr/lib64/ocaml/re/pcre/re_pcre.cma
/usr/lib64/ocaml/re/pcre/re_pcre.cmi
/usr/lib64/ocaml/re/pcre/re_pcre.cmt
/usr/lib64/ocaml/re/pcre/re_pcre.cmx
/usr/lib64/ocaml/re/pcre/re_pcre.cmxa
/usr/lib64/ocaml/re/pcre/re_pcre.cmxs
/usr/lib64/ocaml/re/pcre/re_pcre.ml
/usr/lib64/ocaml/re/perl
/usr/lib64/ocaml/re/perl.ml
/usr/lib64/ocaml/re/perl/re_perl.a
/usr/lib64/ocaml/re/perl/re_perl.cma
/usr/lib64/ocaml/re/perl/re_perl.cmi
/usr/lib64/ocaml/re/perl/re_perl.cmt
/usr/lib64/ocaml/re/perl/re_perl.cmx
/usr/lib64/ocaml/re/perl/re_perl.cmxa
/usr/lib64/ocaml/re/perl/re_perl.cmxs
/usr/lib64/ocaml/re/perl/re_perl.ml
/usr/lib64/ocaml/re/pmark.ml
/usr/lib64/ocaml/re/posix
/usr/lib64/ocaml/re/posix.ml
/usr/lib64/ocaml/re/posix/re_posix.a
/usr/lib64/ocaml/re/posix/re_posix.cma
/usr/lib64/ocaml/re/posix/re_posix.cmi
/usr/lib64/ocaml/re/posix/re_posix.cmt
/usr/lib64/ocaml/re/posix/re_posix.cmx
/usr/lib64/ocaml/re/posix/re_posix.cmxa
/usr/lib64/ocaml/re/posix/re_posix.cmxs
/usr/lib64/ocaml/re/posix/re_posix.ml
/usr/lib64/ocaml/re/re.cma
/usr/lib64/ocaml/re/re.cmi
/usr/lib64/ocaml/re/re.cmt
/usr/lib64/ocaml/re/re.cmxs
/usr/lib64/ocaml/re/re.ml
/usr/lib64/ocaml/re/re__.cmi
/usr/lib64/ocaml/re/re__.cmt
/usr/lib64/ocaml/re/re__.ml
/usr/lib64/ocaml/re/re__Automata.cmi
/usr/lib64/ocaml/re/re__Automata.cmt
/usr/lib64/ocaml/re/re__Automata.cmti
/usr/lib64/ocaml/re/re__Category.cmi
/usr/lib64/ocaml/re/re__Category.cmt
/usr/lib64/ocaml/re/re__Category.cmti
/usr/lib64/ocaml/re/re__Color_map.cmi
/usr/lib64/ocaml/re/re__Color_map.cmt
/usr/lib64/ocaml/re/re__Color_map.cmti
/usr/lib64/ocaml/re/re__Core.cmi
/usr/lib64/ocaml/re/re__Core.cmt
/usr/lib64/ocaml/re/re__Core.cmti
/usr/lib64/ocaml/re/re__Cset.cmi
/usr/lib64/ocaml/re/re__Cset.cmt
/usr/lib64/ocaml/re/re__Cset.cmti
/usr/lib64/ocaml/re/re__Emacs.cmi
/usr/lib64/ocaml/re/re__Emacs.cmt
/usr/lib64/ocaml/re/re__Emacs.cmti
/usr/lib64/ocaml/re/re__Fmt.cmi
/usr/lib64/ocaml/re/re__Fmt.cmt
/usr/lib64/ocaml/re/re__Glob.cmi
/usr/lib64/ocaml/re/re__Glob.cmt
/usr/lib64/ocaml/re/re__Glob.cmti
/usr/lib64/ocaml/re/re__Group.cmi
/usr/lib64/ocaml/re/re__Group.cmt
/usr/lib64/ocaml/re/re__Group.cmti
/usr/lib64/ocaml/re/re__Pcre.cmi
/usr/lib64/ocaml/re/re__Pcre.cmt
/usr/lib64/ocaml/re/re__Pcre.cmti
/usr/lib64/ocaml/re/re__Perl.cmi
/usr/lib64/ocaml/re/re__Perl.cmt
/usr/lib64/ocaml/re/re__Perl.cmti
/usr/lib64/ocaml/re/re__Pmark.cmi
/usr/lib64/ocaml/re/re__Pmark.cmt
/usr/lib64/ocaml/re/re__Pmark.cmti
/usr/lib64/ocaml/re/re__Posix.cmi
/usr/lib64/ocaml/re/re__Posix.cmt
/usr/lib64/ocaml/re/re__Posix.cmti
/usr/lib64/ocaml/re/re__Str.cmi
/usr/lib64/ocaml/re/re__Str.cmt
/usr/lib64/ocaml/re/re__Str.cmti
/usr/lib64/ocaml/re/str
/usr/lib64/ocaml/re/str.ml
/usr/lib64/ocaml/re/str/re_str.a
/usr/lib64/ocaml/re/str/re_str.cma
/usr/lib64/ocaml/re/str/re_str.cmi
/usr/lib64/ocaml/re/str/re_str.cmt
/usr/lib64/ocaml/re/str/re_str.cmx
/usr/lib64/ocaml/re/str/re_str.cmxa
/usr/lib64/ocaml/re/str/re_str.cmxs
/usr/lib64/ocaml/re/str/re_str.ml
/usr/share/doc/ocaml-re
/usr/share/doc/ocaml-re/CHANGES.md
/usr/share/doc/ocaml-re/README.md
/usr/share/licenses/ocaml-re
/usr/share/licenses/ocaml-re/LICENSE.md

References

Summary

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