How To Install ocaml-menhir on Rocky Linux 8
Introduction
In this tutorial we learn how to install ocaml-menhir
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-menhir.
Install ocaml-menhir on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the ocaml-menhir
package we can use the following command:
sudo dnf remove ocaml-menhir
ocaml-menhir Package Contents on Rocky Linux 8
/usr/bin/menhir
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/d67adfc896b11aebcfd4375438d9e26378b09a
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/b8e3357a991c5f974b63fc736087cd0aa5e105
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/8b71e41f4c185802023c346ea92b3f2a290cb9
/usr/lib64/ocaml/menhirLib
/usr/lib64/ocaml/menhirLib/META
/usr/lib64/ocaml/menhirLib/menhirLib.cmi
/usr/lib64/ocaml/menhirLib/menhirLib.cmo
/usr/lib64/ocaml/menhirLib/menhirLib.cmxs
/usr/lib64/ocaml/menhirSdk
/usr/lib64/ocaml/menhirSdk/META
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmi
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmo
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmxs
/usr/share/doc/ocaml-menhir
/usr/share/doc/ocaml-menhir/CHANGES.md
/usr/share/doc/ocaml-menhir/README.md
/usr/share/doc/ocaml-menhir/demos
/usr/share/doc/ocaml-menhir/demos/Makefile
/usr/share/doc/ocaml-menhir/demos/calc
/usr/share/doc/ocaml-menhir/demos/calc-alias
/usr/share/doc/ocaml-menhir/demos/calc-alias/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-alias/README
/usr/share/doc/ocaml-menhir/demos/calc-alias/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-alias/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-alias/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/README.md
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/dune
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-ast-dune/syntax.ml
/usr/share/doc/ocaml-menhir/demos/calc-dune
/usr/share/doc/ocaml-menhir/demos/calc-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-dune/README.md
/usr/share/doc/ocaml-menhir/demos/calc-dune/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-dune/dune
/usr/share/doc/ocaml-menhir/demos/calc-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/calc-dune/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-dune/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-incremental
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune/README.md
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune/dune
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-incremental-dune/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-incremental/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-incremental/README
/usr/share/doc/ocaml-menhir/demos/calc-incremental/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-incremental/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-incremental/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-inspection
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/CalcErrorReporting.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/CalcErrorReporting.mli
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/CalcPrinters.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/CalcPrinters.mli
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/ErrorReporting.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/ErrorReporting.mli
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/README
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/dune
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-inspection-dune/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-inspection/CalcErrorReporting.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection/CalcErrorReporting.mli
/usr/share/doc/ocaml-menhir/demos/calc-inspection/CalcPrinters.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection/CalcPrinters.mli
/usr/share/doc/ocaml-menhir/demos/calc-inspection/ErrorReporting.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection/ErrorReporting.mli
/usr/share/doc/ocaml-menhir/demos/calc-inspection/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-inspection/README
/usr/share/doc/ocaml-menhir/demos/calc-inspection/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-inspection/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-inspection/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune/README.md
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune/dune
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-new-syntax-dune/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-param
/usr/share/doc/ocaml-menhir/demos/calc-param-dune
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/README
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/dune
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-param-dune/tokens.mly
/usr/share/doc/ocaml-menhir/demos/calc-param/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-param/README
/usr/share/doc/ocaml-menhir/demos/calc-param/_tags
/usr/share/doc/ocaml-menhir/demos/calc-param/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-param/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-param/myocamlbuild.ml
/usr/share/doc/ocaml-menhir/demos/calc-param/parser.mly
/usr/share/doc/ocaml-menhir/demos/calc-param/parser.mlypack
/usr/share/doc/ocaml-menhir/demos/calc-param/tokens.mly
/usr/share/doc/ocaml-menhir/demos/calc-param/tokens.mlypack
/usr/share/doc/ocaml-menhir/demos/calc-two
/usr/share/doc/ocaml-menhir/demos/calc-two-dune
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/README
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/algebraic.mly
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/algebraic.mlypack
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/common.mly
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/dune
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/reverse.mly
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/reverse.mlypack
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/tokens.mly
/usr/share/doc/ocaml-menhir/demos/calc-two-dune/tokens.mlypack
/usr/share/doc/ocaml-menhir/demos/calc-two/Makefile
/usr/share/doc/ocaml-menhir/demos/calc-two/README
/usr/share/doc/ocaml-menhir/demos/calc-two/_tags
/usr/share/doc/ocaml-menhir/demos/calc-two/algebraic.mly
/usr/share/doc/ocaml-menhir/demos/calc-two/algebraic.mlypack
/usr/share/doc/ocaml-menhir/demos/calc-two/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc-two/common.mly
/usr/share/doc/ocaml-menhir/demos/calc-two/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc-two/myocamlbuild.ml
/usr/share/doc/ocaml-menhir/demos/calc-two/reverse.mly
/usr/share/doc/ocaml-menhir/demos/calc-two/reverse.mlypack
/usr/share/doc/ocaml-menhir/demos/calc-two/tokens.mly
/usr/share/doc/ocaml-menhir/demos/calc-two/tokens.mlypack
/usr/share/doc/ocaml-menhir/demos/calc/Makefile
/usr/share/doc/ocaml-menhir/demos/calc/README
/usr/share/doc/ocaml-menhir/demos/calc/calc.ml
/usr/share/doc/ocaml-menhir/demos/calc/lexer.mll
/usr/share/doc/ocaml-menhir/demos/calc/parser.mly
/usr/share/doc/ocaml-menhir/demos/generate-printers
/usr/share/doc/ocaml-menhir/demos/generate-printers-dune
/usr/share/doc/ocaml-menhir/demos/generate-printers-dune/Makefile
/usr/share/doc/ocaml-menhir/demos/generate-printers-dune/README.md
/usr/share/doc/ocaml-menhir/demos/generate-printers-dune/dune
/usr/share/doc/ocaml-menhir/demos/generate-printers-dune/dune-project
/usr/share/doc/ocaml-menhir/demos/generate-printers-dune/generate.ml
/usr/share/doc/ocaml-menhir/demos/generate-printers/Makefile
/usr/share/doc/ocaml-menhir/demos/generate-printers/README.md
/usr/share/doc/ocaml-menhir/demos/generate-printers/_tags
/usr/share/doc/ocaml-menhir/demos/generate-printers/generate.ml
/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
/usr/share/menhir
/usr/share/menhir/standard.mly
References
Summary
In this tutorial we learn how to install ocaml-menhir
on Rocky Linux 8 using yum and dnf.