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

In this tutorial we learn how to install ocaml-hivex.x86_64 in Amazon Linux 2. ocaml-hivex.x86_64 is OCaml bindings for hivex

Introduction

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

What is ocaml-hivex.x86_64

ocaml-hivex contains OCaml bindings for hivex. This is for toplevel and scripting access only. To compile OCaml programs which use hivex you will also need ocaml-hivex-devel.

We can use yum to install ocaml-hivex.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-hivex.x86_64.

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

sudo yum -y install ocaml-hivex.x86_64

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

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

sudo yum remove ocaml-hivex.x86_64

ocaml-hivex.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/ocaml/hivex
/usr/lib64/ocaml/hivex/META
/usr/lib64/ocaml/hivex/hivex.cmi
/usr/lib64/ocaml/hivex/mlhivex.cma
/usr/lib64/ocaml/stublibs/dllmlhivex.so
/usr/lib64/ocaml/stublibs/dllmlhivex.so.owner
/usr/share/doc/ocaml-hivex-1.3.10
/usr/share/doc/ocaml-hivex-1.3.10/README

References

Summary

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