How To Install ocaml-findlib on Rocky Linux 8

In this tutorial we learn how to install ocaml-findlib on Rocky Linux 8. ocaml-findlib is Objective CAML package manager and build helper

Introduction

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

What is ocaml-findlib

Objective CAML package manager and build helper.

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

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

sudo dnf -y install ocaml-findlib

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

sudo yum -y install ocaml-findlib

How To Uninstall ocaml-findlib on Rocky Linux 8

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

sudo dnf remove ocaml-findlib

ocaml-findlib Package Contents on Rocky Linux 8

/etc/ocamlfind.conf
/usr/bin/ocamlfind
/usr/bin/safe_camlp4
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/417f328fbbca214784e2d8a7d1f72c2871aece
/usr/lib/.build-id/95
/usr/lib/.build-id/95/78eccde227ec400902449aa2d05816cff962ac
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/6b9f6564dcca7ede6d88da687611294d9c840a
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/899411c7acd1d1b79b5acd208ce0fb26a58483
/usr/lib64/ocaml/bigarray/META
/usr/lib64/ocaml/bytes/META
/usr/lib64/ocaml/camlp4/META
/usr/lib64/ocaml/compiler-libs/META
/usr/lib64/ocaml/dynlink/META
/usr/lib64/ocaml/findlib
/usr/lib64/ocaml/findlib/META
/usr/lib64/ocaml/findlib/findlib.cma
/usr/lib64/ocaml/findlib/findlib.cmi
/usr/lib64/ocaml/findlib/findlib.cmxs
/usr/lib64/ocaml/findlib/findlib_dynload.cma
/usr/lib64/ocaml/findlib/findlib_dynload.cmxs
/usr/lib64/ocaml/findlib/findlib_top.cma
/usr/lib64/ocaml/findlib/findlib_top.cmxs
/usr/lib64/ocaml/findlib/fl_dynload.cmi
/usr/lib64/ocaml/findlib/fl_metascanner.cmi
/usr/lib64/ocaml/findlib/fl_metatoken.cmi
/usr/lib64/ocaml/findlib/fl_package_base.cmi
/usr/lib64/ocaml/findlib/topfind.cmi
/usr/lib64/ocaml/graphics/META
/usr/lib64/ocaml/labltk/META
/usr/lib64/ocaml/ocamlbuild/META
/usr/lib64/ocaml/ocamldoc/META
/usr/lib64/ocaml/raw_spacetime/META
/usr/lib64/ocaml/stdlib/META
/usr/lib64/ocaml/str/META
/usr/lib64/ocaml/threads/META
/usr/lib64/ocaml/topfind
/usr/lib64/ocaml/unix/META
/usr/share/doc/ocaml-findlib
/usr/share/doc/ocaml-findlib/LICENSE
/usr/share/doc/ocaml-findlib/README
/usr/share/man/man1/ocamlfind.1.gz
/usr/share/man/man5/META.5.gz
/usr/share/man/man5/findlib.conf.5.gz
/usr/share/man/man5/site-lib.5.gz

References

Summary

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