How To Install emacs-lucid.x86_64 on Amazon Linux 2

In this tutorial we learn how to install emacs-lucid.x86_64 in Amazon Linux 2. emacs-lucid.x86_64 is GNU Emacs text editor with LUCID toolkit X support

Introduction

In this tutorial we learn how to install emacs-lucid.x86_64 on Amazon Linux 2.

What is emacs-lucid.x86_64

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 to install emacs-lucid.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-lucid.x86_64.

Install emacs-lucid.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install emacs-lucid.x86_64

How To Uninstall emacs-lucid.x86_64 on Amazon Linux 2

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

sudo yum remove emacs-lucid.x86_64

emacs-lucid.x86_64 Package Contents on Amazon Linux 2

/usr/bin/emacs
/usr/bin/emacs-27.2-lucid
/usr/bin/emacs-27.2-lucid.pdmp
/usr/bin/emacs-lucid

References

Summary

In this tutorial we learn how to install emacs-lucid.x86_64 on Amazon Linux 2 using yum.