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

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

Introduction

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

What is ocaml-gen-devel

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

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

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

sudo dnf -y install ocaml-gen-devel

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

sudo yum -y install ocaml-gen-devel

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

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

sudo dnf remove ocaml-gen-devel

ocaml-gen-devel Package Contents on Rocky Linux 8

/usr/lib64/ocaml/gen/gen.a
/usr/lib64/ocaml/gen/gen.cmx
/usr/lib64/ocaml/gen/gen.cmxa
/usr/lib64/ocaml/gen/gen.ml
/usr/lib64/ocaml/gen/gen.mli
/usr/lib64/ocaml/gen/genClone.cmx
/usr/lib64/ocaml/gen/genClone.ml
/usr/lib64/ocaml/gen/genClone.mli
/usr/lib64/ocaml/gen/genLabels.cmx
/usr/lib64/ocaml/gen/genLabels.ml
/usr/lib64/ocaml/gen/genLabels.mli
/usr/lib64/ocaml/gen/genLabels_intf.cmx
/usr/lib64/ocaml/gen/genLabels_intf.ml
/usr/lib64/ocaml/gen/genM.cmx
/usr/lib64/ocaml/gen/genM.ml
/usr/lib64/ocaml/gen/genM.mli
/usr/lib64/ocaml/gen/genMList.cmx
/usr/lib64/ocaml/gen/genMList.ml
/usr/lib64/ocaml/gen/genMList.mli
/usr/lib64/ocaml/gen/genM_intf.cmx
/usr/lib64/ocaml/gen/genM_intf.ml
/usr/lib64/ocaml/gen/gen_intf.cmx
/usr/lib64/ocaml/gen/gen_intf.ml
/usr/share/doc/ocaml-gen-devel
/usr/share/doc/ocaml-gen-devel/CHANGELOG.md
/usr/share/doc/ocaml-gen-devel/README.md
/usr/share/licenses/ocaml-gen-devel
/usr/share/licenses/ocaml-gen-devel/LICENSE

References

Summary

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