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

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

Introduction

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

What is ocaml-curses.x86_64

OCaml bindings for ncurses.

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

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

sudo yum -y install ocaml-curses.x86_64

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

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

sudo yum remove ocaml-curses.x86_64

ocaml-curses.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/ocaml/curses
/usr/lib64/ocaml/curses/META
/usr/lib64/ocaml/curses/curses.cma
/usr/lib64/ocaml/curses/curses.cmi
/usr/lib64/ocaml/curses/keys.cmi
/usr/lib64/ocaml/stublibs/dllcurses_stubs.so
/usr/lib64/ocaml/stublibs/dllcurses_stubs.so.owner
/usr/share/doc/ocaml-curses-1.0.3
/usr/share/doc/ocaml-curses-1.0.3/COPYING

References

Summary

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