How To Install ocaml-menhir on Fedora 36

In this tutorial we learn how to install ocaml-menhir in Fedora 36. ocaml-menhir is LR(1) parser generator for OCaml

Introduction

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

What is ocaml-menhir

Menhir is a LR(1) parser generator for the Objective Caml programming language. That is, Menhir compiles LR(1) grammar specifications down to OCaml code. Menhir was designed and implemented by François Pottier and Yann Régis-Gianas.

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

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

sudo dnf -y install ocaml-menhir

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

sudo yum -y install ocaml-menhir

How To Uninstall ocaml-menhir on Fedora 36

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

sudo dnf remove ocaml-menhir

ocaml-menhir Package Contents on Fedora 36

/usr/bin/menhir
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/4c00a0c977f21812b3087540ac1936226d2a74
/usr/lib/.build-id/59
/usr/lib/.build-id/59/9a162aa0a598bf724e415afecc2f553728db23
/usr/lib64/ocaml/menhir
/usr/lib64/ocaml/menhir/META
/usr/lib64/ocaml/menhir/dune-package
/usr/lib64/ocaml/menhirSdk
/usr/lib64/ocaml/menhirSdk/META
/usr/lib64/ocaml/menhirSdk/cmly_api.ml
/usr/lib64/ocaml/menhirSdk/cmly_format.ml
/usr/lib64/ocaml/menhirSdk/cmly_read.ml
/usr/lib64/ocaml/menhirSdk/cmly_read.mli
/usr/lib64/ocaml/menhirSdk/dune-package
/usr/lib64/ocaml/menhirSdk/keyword.ml
/usr/lib64/ocaml/menhirSdk/keyword.mli
/usr/lib64/ocaml/menhirSdk/menhirSdk.a
/usr/lib64/ocaml/menhirSdk/menhirSdk.cma
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmi
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmt
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmx
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmxa
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmxs
/usr/lib64/ocaml/menhirSdk/menhirSdk.ml
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_api.cmi
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_api.cmt
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_api.cmx
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_format.cmi
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_format.cmt
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_format.cmx
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_read.cmi
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_read.cmt
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_read.cmti
/usr/lib64/ocaml/menhirSdk/menhirSdk__Cmly_read.cmx
/usr/lib64/ocaml/menhirSdk/menhirSdk__Keyword.cmi
/usr/lib64/ocaml/menhirSdk/menhirSdk__Keyword.cmt
/usr/lib64/ocaml/menhirSdk/menhirSdk__Keyword.cmti
/usr/lib64/ocaml/menhirSdk/menhirSdk__Keyword.cmx
/usr/lib64/ocaml/menhirSdk/menhirSdk__Version.cmi
/usr/lib64/ocaml/menhirSdk/menhirSdk__Version.cmt
/usr/lib64/ocaml/menhirSdk/menhirSdk__Version.cmx
/usr/lib64/ocaml/menhirSdk/version.ml
/usr/share/doc/ocaml-menhir
/usr/share/doc/ocaml-menhir/manual.pdf
/usr/share/licenses/ocaml-menhir
/usr/share/licenses/ocaml-menhir/LICENSE
/usr/share/man/man1/menhir.1.gz

References

Summary

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


title: “How To Install ocaml-menhir on Fedora 36” linkTitle: “ocaml-menhir” type: “docs” description: “In this tutorial we learn how to install ocaml-menhir in Fedora 36. ocaml-menhir is LR(1) parser generator for OCaml” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-menhir-featured.png

Introduction

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

What is ocaml-menhir

Menhir is a LR(1) parser generator for the Objective Caml programming language. That is, Menhir compiles LR(1) grammar specifications down to OCaml code. Menhir was designed and implemented by François Pottier and Yann Régis-Gianas.

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

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

sudo dnf -y install ocaml-menhir

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

sudo yum -y install ocaml-menhir

How To Uninstall ocaml-menhir on Fedora 36

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

sudo dnf remove ocaml-menhir

ocaml-menhir Package Contents on Fedora 36

/usr/bin/menhir
/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/0a437936dd98e8a031467471b963c29c6773a2
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/1b101337529ee6d50a32bba7a01deb6b5670b8
/usr/lib/ocaml/menhir
/usr/lib/ocaml/menhir/META
/usr/lib/ocaml/menhir/dune-package
/usr/lib/ocaml/menhirSdk
/usr/lib/ocaml/menhirSdk/META
/usr/lib/ocaml/menhirSdk/cmly_api.ml
/usr/lib/ocaml/menhirSdk/cmly_format.ml
/usr/lib/ocaml/menhirSdk/cmly_read.ml
/usr/lib/ocaml/menhirSdk/cmly_read.mli
/usr/lib/ocaml/menhirSdk/dune-package
/usr/lib/ocaml/menhirSdk/keyword.ml
/usr/lib/ocaml/menhirSdk/keyword.mli
/usr/lib/ocaml/menhirSdk/menhirSdk.a
/usr/lib/ocaml/menhirSdk/menhirSdk.cma
/usr/lib/ocaml/menhirSdk/menhirSdk.cmi
/usr/lib/ocaml/menhirSdk/menhirSdk.cmt
/usr/lib/ocaml/menhirSdk/menhirSdk.cmx
/usr/lib/ocaml/menhirSdk/menhirSdk.cmxa
/usr/lib/ocaml/menhirSdk/menhirSdk.cmxs
/usr/lib/ocaml/menhirSdk/menhirSdk.ml
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_api.cmi
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_api.cmt
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_api.cmx
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_format.cmi
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_format.cmt
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_format.cmx
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_read.cmi
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_read.cmt
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_read.cmti
/usr/lib/ocaml/menhirSdk/menhirSdk__Cmly_read.cmx
/usr/lib/ocaml/menhirSdk/menhirSdk__Keyword.cmi
/usr/lib/ocaml/menhirSdk/menhirSdk__Keyword.cmt
/usr/lib/ocaml/menhirSdk/menhirSdk__Keyword.cmti
/usr/lib/ocaml/menhirSdk/menhirSdk__Keyword.cmx
/usr/lib/ocaml/menhirSdk/menhirSdk__Version.cmi
/usr/lib/ocaml/menhirSdk/menhirSdk__Version.cmt
/usr/lib/ocaml/menhirSdk/menhirSdk__Version.cmx
/usr/lib/ocaml/menhirSdk/version.ml
/usr/share/doc/ocaml-menhir
/usr/share/doc/ocaml-menhir/manual.pdf
/usr/share/licenses/ocaml-menhir
/usr/share/licenses/ocaml-menhir/LICENSE
/usr/share/man/man1/menhir.1.gz

References

Summary

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