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

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

Introduction

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

What is ocaml-hivex-devel.x86_64

ocaml-hivex-devel contains development libraries required to use the OCaml bindings for hivex.

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

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

sudo yum -y install ocaml-hivex-devel.x86_64

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

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

sudo yum remove ocaml-hivex-devel.x86_64

ocaml-hivex-devel.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/ocaml/hivex/hivex.cmx
/usr/lib64/ocaml/hivex/hivex.mli
/usr/lib64/ocaml/hivex/libmlhivex.a
/usr/lib64/ocaml/hivex/mlhivex.a
/usr/lib64/ocaml/hivex/mlhivex.cmxa

References

Summary

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