How To Install ocaml-ocamlbuild.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ocaml-ocamlbuild.x86_64 in Amazon Linux 2. ocaml-ocamlbuild.x86_64 is Build tool for OCaml libraries and programs

Introduction

In this tutorial we learn how to install ocaml-ocamlbuild.x86_64 on Amazon Linux 2.

What is ocaml-ocamlbuild.x86_64

OCamlbuild is a build tool for building OCaml libraries and programs.

We can use yum to install ocaml-ocamlbuild.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-ocamlbuild.x86_64.

Install ocaml-ocamlbuild.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ocaml-ocamlbuild.x86_64 using yum by running the following command:

sudo yum -y install ocaml-ocamlbuild.x86_64

How To Uninstall ocaml-ocamlbuild.x86_64 on Amazon Linux 2

To uninstall only the ocaml-ocamlbuild.x86_64 package we can use the following command:

sudo yum remove ocaml-ocamlbuild.x86_64

ocaml-ocamlbuild.x86_64 Package Contents on Amazon Linux 2

/usr/bin/ocamlbuild
/usr/bin/ocamlbuild.byte
/usr/bin/ocamlbuild.native
/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/share/doc/ocaml-ocamlbuild-0.11.0
/usr/share/doc/ocaml-ocamlbuild-0.11.0/Changes
/usr/share/doc/ocaml-ocamlbuild-0.11.0/Readme.md
/usr/share/doc/ocaml-ocamlbuild-0.11.0/VERSION
/usr/share/licenses/ocaml-ocamlbuild-0.11.0
/usr/share/licenses/ocaml-ocamlbuild-0.11.0/LICENSE
/usr/share/man/man1/ocamlbuild.1.gz

References

Summary

In this tutorial we learn how to install ocaml-ocamlbuild.x86_64 on Amazon Linux 2 using yum.