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

In this tutorial we learn how to install ocaml-runtime.x86_64 in Amazon Linux 2. ocaml-runtime.x86_64 is OCaml runtime environment

Introduction

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

What is ocaml-runtime.x86_64

OCaml is a high-level, strongly-typed, functional and object-oriented programming language from the ML family of languages. This package contains the runtime environment needed to run OCaml bytecode.

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

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

sudo yum -y install ocaml-runtime.x86_64

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

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

sudo yum remove ocaml-runtime.x86_64

ocaml-runtime.x86_64 Package Contents on Amazon Linux 2

/usr/bin/ocamlrun
/usr/lib64/ocaml
/usr/lib64/ocaml/VERSION
/usr/lib64/ocaml/arg.cmi
/usr/lib64/ocaml/arith_status.cmi
/usr/lib64/ocaml/array.cmi
/usr/lib64/ocaml/arrayLabels.cmi
/usr/lib64/ocaml/big_int.cmi
/usr/lib64/ocaml/bigarray.cma
/usr/lib64/ocaml/bigarray.cmi
/usr/lib64/ocaml/buffer.cmi
/usr/lib64/ocaml/bytes.cmi
/usr/lib64/ocaml/bytesLabels.cmi
/usr/lib64/ocaml/callback.cmi
/usr/lib64/ocaml/camlinternalFormat.cmi
/usr/lib64/ocaml/camlinternalFormatBasics.cmi
/usr/lib64/ocaml/camlinternalLazy.cmi
/usr/lib64/ocaml/camlinternalMod.cmi
/usr/lib64/ocaml/camlinternalOO.cmi
/usr/lib64/ocaml/char.cmi
/usr/lib64/ocaml/complex.cmi
/usr/lib64/ocaml/digest.cmi
/usr/lib64/ocaml/dynlink.cma
/usr/lib64/ocaml/dynlink.cmi
/usr/lib64/ocaml/ephemeron.cmi
/usr/lib64/ocaml/fedora-ocaml-release
/usr/lib64/ocaml/filename.cmi
/usr/lib64/ocaml/format.cmi
/usr/lib64/ocaml/gc.cmi
/usr/lib64/ocaml/genlex.cmi
/usr/lib64/ocaml/graphics.cma
/usr/lib64/ocaml/graphics.cmi
/usr/lib64/ocaml/hashtbl.cmi
/usr/lib64/ocaml/int32.cmi
/usr/lib64/ocaml/int64.cmi
/usr/lib64/ocaml/lazy.cmi
/usr/lib64/ocaml/lexing.cmi
/usr/lib64/ocaml/list.cmi
/usr/lib64/ocaml/listLabels.cmi
/usr/lib64/ocaml/map.cmi
/usr/lib64/ocaml/marshal.cmi
/usr/lib64/ocaml/moreLabels.cmi
/usr/lib64/ocaml/nat.cmi
/usr/lib64/ocaml/nativeint.cmi
/usr/lib64/ocaml/num.cmi
/usr/lib64/ocaml/nums.cma
/usr/lib64/ocaml/obj.cmi
/usr/lib64/ocaml/oo.cmi
/usr/lib64/ocaml/parsing.cmi
/usr/lib64/ocaml/pervasives.cmi
/usr/lib64/ocaml/printexc.cmi
/usr/lib64/ocaml/printf.cmi
/usr/lib64/ocaml/profiling.cmi
/usr/lib64/ocaml/profiling.cmo
/usr/lib64/ocaml/queue.cmi
/usr/lib64/ocaml/random.cmi
/usr/lib64/ocaml/ratio.cmi
/usr/lib64/ocaml/raw_spacetime_lib.cma
/usr/lib64/ocaml/raw_spacetime_lib.cmi
/usr/lib64/ocaml/scanf.cmi
/usr/lib64/ocaml/set.cmi
/usr/lib64/ocaml/sort.cmi
/usr/lib64/ocaml/spacetime.cmi
/usr/lib64/ocaml/stack.cmi
/usr/lib64/ocaml/stdLabels.cmi
/usr/lib64/ocaml/std_exit.cmi
/usr/lib64/ocaml/std_exit.cmo
/usr/lib64/ocaml/stdlib.cma
/usr/lib64/ocaml/str.cma
/usr/lib64/ocaml/str.cmi
/usr/lib64/ocaml/stream.cmi
/usr/lib64/ocaml/string.cmi
/usr/lib64/ocaml/stringLabels.cmi
/usr/lib64/ocaml/stublibs
/usr/lib64/ocaml/stublibs/dllbigarray.so
/usr/lib64/ocaml/stublibs/dllcamlstr.so
/usr/lib64/ocaml/stublibs/dllgraphics.so
/usr/lib64/ocaml/stublibs/dllnums.so
/usr/lib64/ocaml/stublibs/dllthreads.so
/usr/lib64/ocaml/stublibs/dllunix.so
/usr/lib64/ocaml/stublibs/dllvmthreads.so
/usr/lib64/ocaml/sys.cmi
/usr/lib64/ocaml/threads
/usr/lib64/ocaml/threads/condition.cmi
/usr/lib64/ocaml/threads/event.cmi
/usr/lib64/ocaml/threads/mutex.cmi
/usr/lib64/ocaml/threads/thread.cmi
/usr/lib64/ocaml/threads/threadUnix.cmi
/usr/lib64/ocaml/threads/threads.cma
/usr/lib64/ocaml/topdirs.cmi
/usr/lib64/ocaml/uchar.cmi
/usr/lib64/ocaml/unix.cma
/usr/lib64/ocaml/unix.cmi
/usr/lib64/ocaml/unixLabels.cmi
/usr/lib64/ocaml/vmthreads
/usr/lib64/ocaml/vmthreads/condition.cmi
/usr/lib64/ocaml/vmthreads/event.cmi
/usr/lib64/ocaml/vmthreads/mutex.cmi
/usr/lib64/ocaml/vmthreads/stdlib.cma
/usr/lib64/ocaml/vmthreads/thread.cmi
/usr/lib64/ocaml/vmthreads/threadUnix.cmi
/usr/lib64/ocaml/vmthreads/threads.cma
/usr/lib64/ocaml/vmthreads/unix.cma
/usr/lib64/ocaml/weak.cmi
/usr/share/doc/ocaml-runtime-4.05.0
/usr/share/doc/ocaml-runtime-4.05.0/Changes
/usr/share/doc/ocaml-runtime-4.05.0/LICENSE
/usr/share/doc/ocaml-runtime-4.05.0/README.adoc

References

Summary

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