How To Install ocaml-extlib.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install ocaml-extlib.x86_64
on Amazon Linux 2.
What is ocaml-extlib.x86_64
ExtLib is a project aiming at providing a complete - yet small - standard library for the OCaml programming language. The purpose of this library is to add new functions to OCaml Standard Library modules, to modify some functions in order to get better performances or more safety (tail-recursive) but also to provide new modules which should be useful for the average OCaml programmer.
We can use yum
to install ocaml-extlib.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-extlib.x86_64.
Install ocaml-extlib.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-extlib.x86_64
using yum
by running the following command:
sudo yum -y install ocaml-extlib.x86_64
How To Uninstall ocaml-extlib.x86_64 on Amazon Linux 2
To uninstall only the ocaml-extlib.x86_64
package we can use the following command:
sudo yum remove ocaml-extlib.x86_64
ocaml-extlib.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/ocaml/extlib
/usr/lib64/ocaml/extlib/IO.cmi
/usr/lib64/ocaml/extlib/META
/usr/lib64/ocaml/extlib/base64.cmi
/usr/lib64/ocaml/extlib/bitSet.cmi
/usr/lib64/ocaml/extlib/dllist.cmi
/usr/lib64/ocaml/extlib/dynArray.cmi
/usr/lib64/ocaml/extlib/enum.cmi
/usr/lib64/ocaml/extlib/extArray.cmi
/usr/lib64/ocaml/extlib/extHashtbl.cmi
/usr/lib64/ocaml/extlib/extLib.cma
/usr/lib64/ocaml/extlib/extLib.cmi
/usr/lib64/ocaml/extlib/extList.cmi
/usr/lib64/ocaml/extlib/extString.cmi
/usr/lib64/ocaml/extlib/global.cmi
/usr/lib64/ocaml/extlib/optParse.cmi
/usr/lib64/ocaml/extlib/option.cmi
/usr/lib64/ocaml/extlib/pMap.cmi
/usr/lib64/ocaml/extlib/refList.cmi
/usr/lib64/ocaml/extlib/std.cmi
/usr/lib64/ocaml/extlib/uChar.cmi
/usr/lib64/ocaml/extlib/uTF8.cmi
/usr/lib64/ocaml/extlib/unzip.cmi
/usr/share/doc/ocaml-extlib-1.5.3
/usr/share/doc/ocaml-extlib-1.5.3/LICENSE
/usr/share/doc/ocaml-extlib-1.5.3/README.txt
References
Summary
In this tutorial we learn how to install ocaml-extlib.x86_64
on Amazon Linux 2 using yum.