How To Install emacs-tuareg on Fedora 36
Introduction
In this tutorial we learn how to install emacs-tuareg on Fedora 36.
What is emacs-tuareg
Tuareg is an OCaml mode for GNU Emacs and XEmacs. It handles automatic indentation of Objective Caml and Caml Light code. Key parts of the code are highlighted using Font-Lock. Support to run an interactive Caml toplevel and debbuger is provided. Install this package if you need to edit OCaml code in Emacs.
We can use yum or dnf to install emacs-tuareg on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-tuareg.
Install emacs-tuareg 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-tuareg using dnf by running the following command:
sudo dnf -y install emacs-tuareg
Install emacs-tuareg 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-tuareg using yum by running the following command:
sudo yum -y install emacs-tuareg
How To Uninstall emacs-tuareg on Fedora 36
To uninstall only the emacs-tuareg package we can use the following command:
sudo dnf remove emacs-tuareg
emacs-tuareg Package Contents on Fedora 36
/usr/share/doc/emacs-tuareg
/usr/share/doc/emacs-tuareg/COPYING
/usr/share/emacs/site-lisp/tuareg
/usr/share/emacs/site-lisp/tuareg/ocamldebug.el
/usr/share/emacs/site-lisp/tuareg/ocamldebug.elc
/usr/share/emacs/site-lisp/tuareg/tuareg-jbuild.el
/usr/share/emacs/site-lisp/tuareg/tuareg-jbuild.elc
/usr/share/emacs/site-lisp/tuareg/tuareg-menhir.el
/usr/share/emacs/site-lisp/tuareg/tuareg-menhir.elc
/usr/share/emacs/site-lisp/tuareg/tuareg-opam.el
/usr/share/emacs/site-lisp/tuareg/tuareg-opam.elc
/usr/share/emacs/site-lisp/tuareg/tuareg-pkg.el
/usr/share/emacs/site-lisp/tuareg/tuareg-site-file.elc
/usr/share/emacs/site-lisp/tuareg/tuareg.el
/usr/share/emacs/site-lisp/tuareg/tuareg.elc
/usr/share/emacs/site-lisp/tuareg/version
References
Summary
In this tutorial we learn how to install emacs-tuareg on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).