How To Install emacs-lucid on Rocky Linux 8

In this tutorial we learn how to install emacs-lucid on Rocky Linux 8. emacs-lucid is GNU Emacs text editor with LUCID toolkit X support

Introduction

In this tutorial we learn how to install emacs-lucid on Rocky Linux 8.

What is emacs-lucid

Emacs is a powerful, customizable, self-documenting, modeless text editor. Emacs contains special code editing features, a scripting language (elisp), and the capability to read mail, news, and more without leaving the editor. This package provides an emacs binary with support for X windows using LUCID toolkit.

We can use yum or dnf to install emacs-lucid on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-lucid.

Install emacs-lucid on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install emacs-lucid using dnf by running the following command:

sudo dnf -y install emacs-lucid

Install emacs-lucid on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install emacs-lucid using yum by running the following command:

sudo yum -y install emacs-lucid

How To Uninstall emacs-lucid on Rocky Linux 8

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

sudo dnf remove emacs-lucid

emacs-lucid Package Contents on Rocky Linux 8

/usr/bin/emacs
/usr/bin/emacs-26.1-lucid
/usr/bin/emacs-lucid
/usr/lib/.build-id
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/74bc25178ae31ebf5e898d6c0c16208c5e7ea9

References

Summary

In this tutorial we learn how to install emacs-lucid on Rocky Linux 8 using yum and dnf.