How To Install emacs-caml-mode on Fedora 36
Introduction
In this tutorial we learn how to install emacs-caml-mode
on Fedora 36.
What is emacs-caml-mode
This package provides a caml-mode for Emacs, for editing OCaml programs, as well as an inferior-caml-mode, to run a toplevel. Caml-mode supports indentation, compilation and error retrieving, and sending phrases to the toplevel. There is also support for hilit, font-lock and imenu.
We can use yum
or dnf
to install emacs-caml-mode
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-caml-mode.
Install emacs-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 emacs-caml-mode
using dnf
by running the following command:
sudo dnf -y install emacs-caml-mode
Install emacs-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 emacs-caml-mode
using yum
by running the following command:
sudo yum -y install emacs-caml-mode
How To Uninstall emacs-caml-mode on Fedora 36
To uninstall only the emacs-caml-mode
package we can use the following command:
sudo dnf remove emacs-caml-mode
emacs-caml-mode Package Contents on Fedora 36
/usr/bin/ocamltags
/usr/share/doc/emacs-caml-mode
/usr/share/doc/emacs-caml-mode/CHANGES.md
/usr/share/doc/emacs-caml-mode/README.itz
/usr/share/doc/emacs-caml-mode/README.md
/usr/share/emacs/site-lisp/caml-mode
/usr/share/emacs/site-lisp/caml-mode/caml-font.el
/usr/share/emacs/site-lisp/caml-mode/caml-font.elc
/usr/share/emacs/site-lisp/caml-mode/caml-help.el
/usr/share/emacs/site-lisp/caml-mode/caml-help.elc
/usr/share/emacs/site-lisp/caml-mode/caml-types.el
/usr/share/emacs/site-lisp/caml-mode/caml-types.elc
/usr/share/emacs/site-lisp/caml-mode/caml.el
/usr/share/emacs/site-lisp/caml-mode/caml.elc
/usr/share/emacs/site-lisp/caml-mode/camldebug.el
/usr/share/emacs/site-lisp/caml-mode/camldebug.elc
/usr/share/emacs/site-lisp/caml-mode/inf-caml.el
/usr/share/emacs/site-lisp/caml-mode/inf-caml.elc
/usr/share/emacs/site-lisp/site-start.d/caml-mode-site-file.el
/usr/share/licenses/emacs-caml-mode
/usr/share/licenses/emacs-caml-mode/COPYING
References
Summary
In this tutorial we learn how to install emacs-caml-mode
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).