How To Install ocaml-menhir-devel on Rocky Linux 8

In this tutorial we learn how to install ocaml-menhir-devel on Rocky Linux 8. ocaml-menhir-devel is Development files for ocaml-menhir

Introduction

In this tutorial we learn how to install ocaml-menhir-devel on Rocky Linux 8.

What is ocaml-menhir-devel

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

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

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

sudo dnf -y install ocaml-menhir-devel

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

sudo yum -y install ocaml-menhir-devel

How To Uninstall ocaml-menhir-devel on Rocky Linux 8

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

sudo dnf remove ocaml-menhir-devel

ocaml-menhir-devel Package Contents on Rocky Linux 8

/usr/lib64/ocaml/menhirLib/menhirLib.cmx
/usr/lib64/ocaml/menhirLib/menhirLib.ml
/usr/lib64/ocaml/menhirLib/menhirLib.mli
/usr/lib64/ocaml/menhirLib/menhirLib.o
/usr/lib64/ocaml/menhirSdk/menhirSdk.cmx
/usr/lib64/ocaml/menhirSdk/menhirSdk.o

References

Summary

In this tutorial we learn how to install ocaml-menhir-devel on Rocky Linux 8 using yum and dnf.