How To Install ocaml-curses on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-curses
on Fedora 36.
What is ocaml-curses
OCaml bindings for ncurses.
We can use yum
or dnf
to install ocaml-curses
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-curses.
Install ocaml-curses on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ocaml-curses
using dnf
by running the following command:
sudo dnf -y install ocaml-curses
Install ocaml-curses on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ocaml-curses
using yum
by running the following command:
sudo yum -y install ocaml-curses
How To Uninstall ocaml-curses on Fedora 36
To uninstall only the ocaml-curses
package we can use the following command:
sudo dnf remove ocaml-curses
ocaml-curses Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/02e7f086bf5fea2b895a0914c63e3356b7990d
/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
/usr/share/doc/ocaml-curses/COPYING
References
Summary
In this tutorial we learn how to install ocaml-curses
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).