How To Install ocaml.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install ocaml.x86_64
on Amazon Linux 2.
What is ocaml.x86_64
OCaml is a high-level, strongly-typed, functional and object-oriented programming language from the ML family of languages. This package comprises two batch compilers (a fast bytecode compiler and an optimizing native-code compiler), an interactive toplevel system, parsing tools (Lex,Yacc), a replay debugger, a documentation generator, and a comprehensive library.
We can use yum
to install ocaml.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.x86_64.
Install ocaml.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.x86_64
using yum
by running the following command:
sudo yum -y install ocaml.x86_64
How To Uninstall ocaml.x86_64 on Amazon Linux 2
To uninstall only the ocaml.x86_64
package we can use the following command:
sudo yum remove ocaml.x86_64
ocaml.x86_64 Package Contents on Amazon Linux 2
/usr/bin/ocaml
/usr/bin/ocamlbyteinfo
/usr/bin/ocamlc
/usr/bin/ocamlc.byte
/usr/bin/ocamlc.opt
/usr/bin/ocamlcp
/usr/bin/ocamlcp.byte
/usr/bin/ocamlcp.opt
/usr/bin/ocamldebug
/usr/bin/ocamldep
/usr/bin/ocamldep.byte
/usr/bin/ocamldep.opt
/usr/bin/ocamllex
/usr/bin/ocamllex.byte
/usr/bin/ocamllex.opt
/usr/bin/ocamlmklib
/usr/bin/ocamlmklib.byte
/usr/bin/ocamlmklib.opt
/usr/bin/ocamlmktop
/usr/bin/ocamlmktop.byte
/usr/bin/ocamlmktop.opt
/usr/bin/ocamlobjinfo
/usr/bin/ocamlobjinfo.byte
/usr/bin/ocamlobjinfo.opt
/usr/bin/ocamlopt
/usr/bin/ocamlopt.byte
/usr/bin/ocamlopt.opt
/usr/bin/ocamloptp
/usr/bin/ocamloptp.byte
/usr/bin/ocamloptp.opt
/usr/bin/ocamlprof
/usr/bin/ocamlprof.byte
/usr/bin/ocamlprof.opt
/usr/bin/ocamlyacc
/usr/lib64/ocaml/Makefile.config
/usr/lib64/ocaml/arg.cmx
/usr/lib64/ocaml/arg.mli
/usr/lib64/ocaml/arg.p.cmx
/usr/lib64/ocaml/arith_flags.cmx
/usr/lib64/ocaml/arith_status.cmx
/usr/lib64/ocaml/arith_status.mli
/usr/lib64/ocaml/array.cmx
/usr/lib64/ocaml/array.mli
/usr/lib64/ocaml/array.p.cmx
/usr/lib64/ocaml/arrayLabels.cmx
/usr/lib64/ocaml/arrayLabels.mli
/usr/lib64/ocaml/arrayLabels.p.cmx
/usr/lib64/ocaml/big_int.cmx
/usr/lib64/ocaml/big_int.mli
/usr/lib64/ocaml/bigarray.a
/usr/lib64/ocaml/bigarray.cmx
/usr/lib64/ocaml/bigarray.cmxa
/usr/lib64/ocaml/bigarray.cmxs
/usr/lib64/ocaml/bigarray.mli
/usr/lib64/ocaml/buffer.cmx
/usr/lib64/ocaml/buffer.mli
/usr/lib64/ocaml/buffer.p.cmx
/usr/lib64/ocaml/bytes.cmx
/usr/lib64/ocaml/bytes.mli
/usr/lib64/ocaml/bytes.p.cmx
/usr/lib64/ocaml/bytesLabels.cmx
/usr/lib64/ocaml/bytesLabels.mli
/usr/lib64/ocaml/bytesLabels.p.cmx
/usr/lib64/ocaml/callback.cmx
/usr/lib64/ocaml/callback.mli
/usr/lib64/ocaml/callback.p.cmx
/usr/lib64/ocaml/caml
/usr/lib64/ocaml/caml/address_class.h
/usr/lib64/ocaml/caml/alloc.h
/usr/lib64/ocaml/caml/backtrace.h
/usr/lib64/ocaml/caml/backtrace_prim.h
/usr/lib64/ocaml/caml/bigarray.h
/usr/lib64/ocaml/caml/callback.h
/usr/lib64/ocaml/caml/compact.h
/usr/lib64/ocaml/caml/compare.h
/usr/lib64/ocaml/caml/compatibility.h
/usr/lib64/ocaml/caml/config.h
/usr/lib64/ocaml/caml/custom.h
/usr/lib64/ocaml/caml/debugger.h
/usr/lib64/ocaml/caml/dynlink.h
/usr/lib64/ocaml/caml/exec.h
/usr/lib64/ocaml/caml/fail.h
/usr/lib64/ocaml/caml/finalise.h
/usr/lib64/ocaml/caml/fix_code.h
/usr/lib64/ocaml/caml/freelist.h
/usr/lib64/ocaml/caml/gc.h
/usr/lib64/ocaml/caml/gc_ctrl.h
/usr/lib64/ocaml/caml/globroots.h
/usr/lib64/ocaml/caml/hash.h
/usr/lib64/ocaml/caml/hooks.h
/usr/lib64/ocaml/caml/instrtrace.h
/usr/lib64/ocaml/caml/instruct.h
/usr/lib64/ocaml/caml/int64_emul.h
/usr/lib64/ocaml/caml/int64_format.h
/usr/lib64/ocaml/caml/int64_native.h
/usr/lib64/ocaml/caml/interp.h
/usr/lib64/ocaml/caml/intext.h
/usr/lib64/ocaml/caml/io.h
/usr/lib64/ocaml/caml/jumptbl.h
/usr/lib64/ocaml/caml/major_gc.h
/usr/lib64/ocaml/caml/md5.h
/usr/lib64/ocaml/caml/memory.h
/usr/lib64/ocaml/caml/minor_gc.h
/usr/lib64/ocaml/caml/misc.h
/usr/lib64/ocaml/caml/mlvalues.h
/usr/lib64/ocaml/caml/osdeps.h
/usr/lib64/ocaml/caml/prims.h
/usr/lib64/ocaml/caml/printexc.h
/usr/lib64/ocaml/caml/reverse.h
/usr/lib64/ocaml/caml/roots.h
/usr/lib64/ocaml/caml/signals.h
/usr/lib64/ocaml/caml/signals_machdep.h
/usr/lib64/ocaml/caml/socketaddr.h
/usr/lib64/ocaml/caml/spacetime.h
/usr/lib64/ocaml/caml/stack.h
/usr/lib64/ocaml/caml/stacks.h
/usr/lib64/ocaml/caml/startup.h
/usr/lib64/ocaml/caml/startup_aux.h
/usr/lib64/ocaml/caml/sys.h
/usr/lib64/ocaml/caml/threads.h
/usr/lib64/ocaml/caml/ui.h
/usr/lib64/ocaml/caml/unixsupport.h
/usr/lib64/ocaml/caml/version.h
/usr/lib64/ocaml/caml/weak.h
/usr/lib64/ocaml/camlheader
/usr/lib64/ocaml/camlheader_ur
/usr/lib64/ocaml/camlinternalFormat.cmx
/usr/lib64/ocaml/camlinternalFormat.mli
/usr/lib64/ocaml/camlinternalFormat.p.cmx
/usr/lib64/ocaml/camlinternalFormatBasics.cmx
/usr/lib64/ocaml/camlinternalFormatBasics.mli
/usr/lib64/ocaml/camlinternalFormatBasics.p.cmx
/usr/lib64/ocaml/camlinternalLazy.cmx
/usr/lib64/ocaml/camlinternalLazy.mli
/usr/lib64/ocaml/camlinternalLazy.p.cmx
/usr/lib64/ocaml/camlinternalMod.cmx
/usr/lib64/ocaml/camlinternalMod.mli
/usr/lib64/ocaml/camlinternalMod.p.cmx
/usr/lib64/ocaml/camlinternalOO.cmx
/usr/lib64/ocaml/camlinternalOO.mli
/usr/lib64/ocaml/camlinternalOO.p.cmx
/usr/lib64/ocaml/char.cmx
/usr/lib64/ocaml/char.mli
/usr/lib64/ocaml/char.p.cmx
/usr/lib64/ocaml/complex.cmx
/usr/lib64/ocaml/complex.mli
/usr/lib64/ocaml/complex.p.cmx
/usr/lib64/ocaml/condition.mli
/usr/lib64/ocaml/digest.cmx
/usr/lib64/ocaml/digest.mli
/usr/lib64/ocaml/digest.p.cmx
/usr/lib64/ocaml/dynlink.a
/usr/lib64/ocaml/dynlink.cmx
/usr/lib64/ocaml/dynlink.cmxa
/usr/lib64/ocaml/dynlink.mli
/usr/lib64/ocaml/ephemeron.cmx
/usr/lib64/ocaml/ephemeron.mli
/usr/lib64/ocaml/ephemeron.p.cmx
/usr/lib64/ocaml/event.mli
/usr/lib64/ocaml/expunge
/usr/lib64/ocaml/extract_crc
/usr/lib64/ocaml/filename.cmx
/usr/lib64/ocaml/filename.mli
/usr/lib64/ocaml/filename.p.cmx
/usr/lib64/ocaml/format.cmx
/usr/lib64/ocaml/format.mli
/usr/lib64/ocaml/format.p.cmx
/usr/lib64/ocaml/gc.cmx
/usr/lib64/ocaml/gc.mli
/usr/lib64/ocaml/gc.p.cmx
/usr/lib64/ocaml/genlex.cmx
/usr/lib64/ocaml/genlex.mli
/usr/lib64/ocaml/genlex.p.cmx
/usr/lib64/ocaml/graphics.a
/usr/lib64/ocaml/graphics.cmx
/usr/lib64/ocaml/graphics.cmxa
/usr/lib64/ocaml/graphics.cmxs
/usr/lib64/ocaml/graphics.mli
/usr/lib64/ocaml/graphicsX11.cmx
/usr/lib64/ocaml/hashtbl.cmx
/usr/lib64/ocaml/hashtbl.mli
/usr/lib64/ocaml/hashtbl.p.cmx
/usr/lib64/ocaml/int32.cmx
/usr/lib64/ocaml/int32.mli
/usr/lib64/ocaml/int32.p.cmx
/usr/lib64/ocaml/int64.cmx
/usr/lib64/ocaml/int64.mli
/usr/lib64/ocaml/int64.p.cmx
/usr/lib64/ocaml/int_misc.cmx
/usr/lib64/ocaml/lazy.cmx
/usr/lib64/ocaml/lazy.mli
/usr/lib64/ocaml/lazy.p.cmx
/usr/lib64/ocaml/ld.conf
/usr/lib64/ocaml/lexing.cmx
/usr/lib64/ocaml/lexing.mli
/usr/lib64/ocaml/lexing.p.cmx
/usr/lib64/ocaml/libasmrun.a
/usr/lib64/ocaml/libasmrun_pic.a
/usr/lib64/ocaml/libasmrun_shared.so
/usr/lib64/ocaml/libasmrunp.a
/usr/lib64/ocaml/libbigarray.a
/usr/lib64/ocaml/libcamlrun.a
/usr/lib64/ocaml/libcamlrun_pic.a
/usr/lib64/ocaml/libcamlrun_shared.so
/usr/lib64/ocaml/libcamlstr.a
/usr/lib64/ocaml/libgraphics.a
/usr/lib64/ocaml/libnums.a
/usr/lib64/ocaml/libthreads.a
/usr/lib64/ocaml/libthreadsnat.a
/usr/lib64/ocaml/libunix.a
/usr/lib64/ocaml/list.cmx
/usr/lib64/ocaml/list.mli
/usr/lib64/ocaml/list.p.cmx
/usr/lib64/ocaml/listLabels.cmx
/usr/lib64/ocaml/listLabels.mli
/usr/lib64/ocaml/listLabels.p.cmx
/usr/lib64/ocaml/map.cmx
/usr/lib64/ocaml/map.mli
/usr/lib64/ocaml/map.p.cmx
/usr/lib64/ocaml/marshal.cmx
/usr/lib64/ocaml/marshal.mli
/usr/lib64/ocaml/marshal.p.cmx
/usr/lib64/ocaml/moreLabels.cmx
/usr/lib64/ocaml/moreLabels.mli
/usr/lib64/ocaml/moreLabels.p.cmx
/usr/lib64/ocaml/mutex.mli
/usr/lib64/ocaml/nat.cmx
/usr/lib64/ocaml/nat.mli
/usr/lib64/ocaml/nativeint.cmx
/usr/lib64/ocaml/nativeint.mli
/usr/lib64/ocaml/nativeint.p.cmx
/usr/lib64/ocaml/num.cmx
/usr/lib64/ocaml/num.mli
/usr/lib64/ocaml/nums.a
/usr/lib64/ocaml/nums.cmxa
/usr/lib64/ocaml/nums.cmxs
/usr/lib64/ocaml/obj.cmx
/usr/lib64/ocaml/obj.mli
/usr/lib64/ocaml/obj.p.cmx
/usr/lib64/ocaml/objinfo_helper
/usr/lib64/ocaml/oo.cmx
/usr/lib64/ocaml/oo.mli
/usr/lib64/ocaml/oo.p.cmx
/usr/lib64/ocaml/parsing.cmx
/usr/lib64/ocaml/parsing.mli
/usr/lib64/ocaml/parsing.p.cmx
/usr/lib64/ocaml/pervasives.cmx
/usr/lib64/ocaml/pervasives.mli
/usr/lib64/ocaml/pervasives.p.cmx
/usr/lib64/ocaml/printexc.cmx
/usr/lib64/ocaml/printexc.mli
/usr/lib64/ocaml/printexc.p.cmx
/usr/lib64/ocaml/printf.cmx
/usr/lib64/ocaml/printf.mli
/usr/lib64/ocaml/printf.p.cmx
/usr/lib64/ocaml/profiling.cmx
/usr/lib64/ocaml/profiling.o
/usr/lib64/ocaml/queue.cmx
/usr/lib64/ocaml/queue.mli
/usr/lib64/ocaml/queue.p.cmx
/usr/lib64/ocaml/random.cmx
/usr/lib64/ocaml/random.mli
/usr/lib64/ocaml/random.p.cmx
/usr/lib64/ocaml/ratio.cmx
/usr/lib64/ocaml/ratio.mli
/usr/lib64/ocaml/raw_spacetime_lib.a
/usr/lib64/ocaml/raw_spacetime_lib.cmx
/usr/lib64/ocaml/raw_spacetime_lib.cmxa
/usr/lib64/ocaml/raw_spacetime_lib.cmxs
/usr/lib64/ocaml/raw_spacetime_lib.mli
/usr/lib64/ocaml/scanf.cmx
/usr/lib64/ocaml/scanf.mli
/usr/lib64/ocaml/scanf.p.cmx
/usr/lib64/ocaml/set.cmx
/usr/lib64/ocaml/set.mli
/usr/lib64/ocaml/set.p.cmx
/usr/lib64/ocaml/sort.cmx
/usr/lib64/ocaml/sort.mli
/usr/lib64/ocaml/sort.p.cmx
/usr/lib64/ocaml/spacetime.cmx
/usr/lib64/ocaml/spacetime.mli
/usr/lib64/ocaml/spacetime.p.cmx
/usr/lib64/ocaml/stack.cmx
/usr/lib64/ocaml/stack.mli
/usr/lib64/ocaml/stack.p.cmx
/usr/lib64/ocaml/stdLabels.cmx
/usr/lib64/ocaml/stdLabels.mli
/usr/lib64/ocaml/stdLabels.p.cmx
/usr/lib64/ocaml/std_exit.cmx
/usr/lib64/ocaml/std_exit.o
/usr/lib64/ocaml/std_exit.p.cmx
/usr/lib64/ocaml/std_exit.p.o
/usr/lib64/ocaml/stdlib.a
/usr/lib64/ocaml/stdlib.cmxa
/usr/lib64/ocaml/stdlib.p.a
/usr/lib64/ocaml/stdlib.p.cmxa
/usr/lib64/ocaml/str.a
/usr/lib64/ocaml/str.cmx
/usr/lib64/ocaml/str.cmxa
/usr/lib64/ocaml/str.cmxs
/usr/lib64/ocaml/str.mli
/usr/lib64/ocaml/stream.cmx
/usr/lib64/ocaml/stream.mli
/usr/lib64/ocaml/stream.p.cmx
/usr/lib64/ocaml/string.cmx
/usr/lib64/ocaml/string.mli
/usr/lib64/ocaml/string.p.cmx
/usr/lib64/ocaml/stringLabels.cmx
/usr/lib64/ocaml/stringLabels.mli
/usr/lib64/ocaml/stringLabels.p.cmx
/usr/lib64/ocaml/sys.cmx
/usr/lib64/ocaml/sys.mli
/usr/lib64/ocaml/sys.p.cmx
/usr/lib64/ocaml/thread.mli
/usr/lib64/ocaml/threadUnix.mli
/usr/lib64/ocaml/threads/condition.cmx
/usr/lib64/ocaml/threads/event.cmx
/usr/lib64/ocaml/threads/mutex.cmx
/usr/lib64/ocaml/threads/thread.cmx
/usr/lib64/ocaml/threads/threadUnix.cmx
/usr/lib64/ocaml/threads/threads.a
/usr/lib64/ocaml/threads/threads.cmxa
/usr/lib64/ocaml/topdirs.mli
/usr/lib64/ocaml/uchar.cmx
/usr/lib64/ocaml/uchar.mli
/usr/lib64/ocaml/uchar.p.cmx
/usr/lib64/ocaml/unix.a
/usr/lib64/ocaml/unix.cmx
/usr/lib64/ocaml/unix.cmxa
/usr/lib64/ocaml/unix.cmxs
/usr/lib64/ocaml/unix.mli
/usr/lib64/ocaml/unixLabels.cmx
/usr/lib64/ocaml/unixLabels.mli
/usr/lib64/ocaml/vmthreads/condition.mli
/usr/lib64/ocaml/vmthreads/event.mli
/usr/lib64/ocaml/vmthreads/libvmthreads.a
/usr/lib64/ocaml/vmthreads/mutex.mli
/usr/lib64/ocaml/vmthreads/thread.mli
/usr/lib64/ocaml/vmthreads/threadUnix.mli
/usr/lib64/ocaml/weak.cmx
/usr/lib64/ocaml/weak.mli
/usr/lib64/ocaml/weak.p.cmx
/usr/share/doc/ocaml-4.05.0
/usr/share/doc/ocaml-4.05.0/LICENSE
References
Summary
In this tutorial we learn how to install ocaml.x86_64
on Amazon Linux 2 using yum.