How To Install ocaml-ocamlbuild on Rocky Linux 8
Introduction
In this tutorial we learn how to install ocaml-ocamlbuild
on Rocky Linux 8.
What is ocaml-ocamlbuild
OCamlbuild is a build tool for building OCaml libraries and programs.
We can use yum
or dnf
to install ocaml-ocamlbuild
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-ocamlbuild.
Install ocaml-ocamlbuild 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-ocamlbuild
using dnf
by running the following command:
sudo dnf -y install ocaml-ocamlbuild
Install ocaml-ocamlbuild 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-ocamlbuild
using yum
by running the following command:
sudo yum -y install ocaml-ocamlbuild
How To Uninstall ocaml-ocamlbuild on Rocky Linux 8
To uninstall only the ocaml-ocamlbuild
package we can use the following command:
sudo dnf remove ocaml-ocamlbuild
ocaml-ocamlbuild Package Contents on Rocky Linux 8
/usr/bin/ocamlbuild
/usr/bin/ocamlbuild.byte
/usr/bin/ocamlbuild.native
/usr/lib/.build-id
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/ccfc4477119d3905ea13e0d3743f9ad6aded5d
/usr/lib64/ocaml/ocamlbuild
/usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmo
/usr/lib64/ocaml/ocamlbuild/ocamlbuild_executor.cmi
/usr/lib64/ocaml/ocamlbuild/ocamlbuild_pack.cmi
/usr/lib64/ocaml/ocamlbuild/ocamlbuild_plugin.cmi
/usr/lib64/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmi
/usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cma
/usr/lib64/ocaml/ocamlbuild/signatures.cmi
/usr/lib64/ocaml/ocamlbuild/signatures.cmti
/usr/share/doc/ocaml-ocamlbuild
/usr/share/doc/ocaml-ocamlbuild/Changes
/usr/share/doc/ocaml-ocamlbuild/Readme.md
/usr/share/doc/ocaml-ocamlbuild/VERSION
/usr/share/licenses/ocaml-ocamlbuild
/usr/share/licenses/ocaml-ocamlbuild/LICENSE
/usr/share/man/man1/ocamlbuild.1.gz
References
Summary
In this tutorial we learn how to install ocaml-ocamlbuild
on Rocky Linux 8 using yum and dnf.