How To Install ocaml-gen on Rocky Linux 8

In this tutorial we learn how to install ocaml-gen on Rocky Linux 8. ocaml-gen is Simple, efficient iterators for OCaml

Introduction

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

What is ocaml-gen

Iterators for OCaml, both restartable and consumable. The implementation keeps a good balance between simplicity and performance.

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

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

sudo dnf -y install ocaml-gen

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

sudo yum -y install ocaml-gen

How To Uninstall ocaml-gen on Rocky Linux 8

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

sudo dnf remove ocaml-gen

ocaml-gen Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/db
/usr/lib/.build-id/db/f35cc257d40892181c3984cd5a3b0ca2d1ca78
/usr/lib64/ocaml/gen
/usr/lib64/ocaml/gen/META
/usr/lib64/ocaml/gen/dune-package
/usr/lib64/ocaml/gen/gen.cma
/usr/lib64/ocaml/gen/gen.cmi
/usr/lib64/ocaml/gen/gen.cmt
/usr/lib64/ocaml/gen/gen.cmti
/usr/lib64/ocaml/gen/gen.cmxs
/usr/lib64/ocaml/gen/genClone.cmi
/usr/lib64/ocaml/gen/genClone.cmt
/usr/lib64/ocaml/gen/genClone.cmti
/usr/lib64/ocaml/gen/genLabels.cmi
/usr/lib64/ocaml/gen/genLabels.cmt
/usr/lib64/ocaml/gen/genLabels.cmti
/usr/lib64/ocaml/gen/genLabels_intf.cmi
/usr/lib64/ocaml/gen/genLabels_intf.cmt
/usr/lib64/ocaml/gen/genM.cmi
/usr/lib64/ocaml/gen/genM.cmt
/usr/lib64/ocaml/gen/genM.cmti
/usr/lib64/ocaml/gen/genMList.cmi
/usr/lib64/ocaml/gen/genMList.cmt
/usr/lib64/ocaml/gen/genMList.cmti
/usr/lib64/ocaml/gen/genM_intf.cmi
/usr/lib64/ocaml/gen/genM_intf.cmt
/usr/lib64/ocaml/gen/gen_intf.cmi
/usr/lib64/ocaml/gen/gen_intf.cmt
/usr/lib64/ocaml/gen/opam
/usr/share/doc/ocaml-gen
/usr/share/doc/ocaml-gen/CHANGELOG.md
/usr/share/doc/ocaml-gen/README.md
/usr/share/licenses/ocaml-gen
/usr/share/licenses/ocaml-gen/LICENSE

References

Summary

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