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

In this tutorial we learn how to install ocaml-source.x86_64 in Amazon Linux 2. ocaml-source.x86_64 is Source code for OCaml libraries

Introduction

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

What is ocaml-source.x86_64

Source code for OCaml libraries.

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

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

sudo yum -y install ocaml-source.x86_64

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

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

sudo yum remove ocaml-source.x86_64

ocaml-source.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/ocaml/arg.ml
/usr/lib64/ocaml/array.ml
/usr/lib64/ocaml/arrayLabels.ml
/usr/lib64/ocaml/buffer.ml
/usr/lib64/ocaml/bytes.ml
/usr/lib64/ocaml/bytesLabels.ml
/usr/lib64/ocaml/callback.ml
/usr/lib64/ocaml/camlinternalFormat.ml
/usr/lib64/ocaml/camlinternalFormatBasics.ml
/usr/lib64/ocaml/camlinternalLazy.ml
/usr/lib64/ocaml/camlinternalMod.ml
/usr/lib64/ocaml/camlinternalOO.ml
/usr/lib64/ocaml/char.ml
/usr/lib64/ocaml/complex.ml
/usr/lib64/ocaml/digest.ml
/usr/lib64/ocaml/ephemeron.ml
/usr/lib64/ocaml/filename.ml
/usr/lib64/ocaml/format.ml
/usr/lib64/ocaml/gc.ml
/usr/lib64/ocaml/genlex.ml
/usr/lib64/ocaml/hashtbl.ml
/usr/lib64/ocaml/int32.ml
/usr/lib64/ocaml/int64.ml
/usr/lib64/ocaml/lazy.ml
/usr/lib64/ocaml/lexing.ml
/usr/lib64/ocaml/list.ml
/usr/lib64/ocaml/listLabels.ml
/usr/lib64/ocaml/map.ml
/usr/lib64/ocaml/marshal.ml
/usr/lib64/ocaml/moreLabels.ml
/usr/lib64/ocaml/nativeint.ml
/usr/lib64/ocaml/obj.ml
/usr/lib64/ocaml/oo.ml
/usr/lib64/ocaml/parsing.ml
/usr/lib64/ocaml/pervasives.ml
/usr/lib64/ocaml/printexc.ml
/usr/lib64/ocaml/printf.ml
/usr/lib64/ocaml/queue.ml
/usr/lib64/ocaml/random.ml
/usr/lib64/ocaml/scanf.ml
/usr/lib64/ocaml/set.ml
/usr/lib64/ocaml/sort.ml
/usr/lib64/ocaml/spacetime.ml
/usr/lib64/ocaml/stack.ml
/usr/lib64/ocaml/stdLabels.ml
/usr/lib64/ocaml/std_exit.ml
/usr/lib64/ocaml/stream.ml
/usr/lib64/ocaml/string.ml
/usr/lib64/ocaml/stringLabels.ml
/usr/lib64/ocaml/sys.ml
/usr/lib64/ocaml/uchar.ml
/usr/lib64/ocaml/weak.ml
/usr/share/doc/ocaml-source-4.05.0
/usr/share/doc/ocaml-source-4.05.0/LICENSE

References

Summary

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