How To Install emacs-common-tuareg on Fedora 36

In this tutorial we learn how to install emacs-common-tuareg in Fedora 36. emacs-common-tuareg is Emacs and XEmacs mode for editing ocaml

Introduction

In this tutorial we learn how to install emacs-common-tuareg on Fedora 36.

What is emacs-common-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. This package contains the common files. Install emacs-tuareg to get the complete package.

We can use yum or dnf to install emacs-common-tuareg on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-common-tuareg.

Install emacs-common-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-common-tuareg using dnf by running the following command:

sudo dnf -y install emacs-common-tuareg

Install emacs-common-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-common-tuareg using yum by running the following command:

sudo yum -y install emacs-common-tuareg

How To Uninstall emacs-common-tuareg on Fedora 36

To uninstall only the emacs-common-tuareg package we can use the following command:

sudo dnf remove emacs-common-tuareg

emacs-common-tuareg Package Contents on Fedora 36

/usr/share/doc/emacs-common-tuareg
/usr/share/doc/emacs-common-tuareg/COPYING
/usr/share/doc/emacs-common-tuareg/README.md
/usr/share/doc/emacs-common-tuareg/tuareg-site-file.el

References

Summary

In this tutorial we learn how to install emacs-common-tuareg on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).