How To Install ocaml-caml-mode on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-caml-mode on Fedora 36.
What is ocaml-caml-mode
This package contains the opam file for emacs-caml-mode. Install this only if you want opam to know that caml-mode is available. If you just want to use caml-mode, install emacs-caml-mode.
We can use yum or dnf to install ocaml-caml-mode on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-caml-mode.
Install ocaml-caml-mode 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-caml-mode using dnf by running the following command:
sudo dnf -y install ocaml-caml-mode
Install ocaml-caml-mode 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-caml-mode using yum by running the following command:
sudo yum -y install ocaml-caml-mode
How To Uninstall ocaml-caml-mode on Fedora 36
To uninstall only the ocaml-caml-mode package we can use the following command:
sudo dnf remove ocaml-caml-mode
ocaml-caml-mode Package Contents on Fedora 36
/usr/lib64/ocaml/caml-mode
/usr/lib64/ocaml/caml-mode/opam
References
Summary
In this tutorial we learn how to install ocaml-caml-mode on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).