How To Install emacs.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install emacs.x86_64
on Amazon Linux 2.
What is emacs.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.
We can use yum
to install emacs.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.x86_64.
Install emacs.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.x86_64
using yum
by running the following command:
sudo yum -y install emacs.x86_64
How To Uninstall emacs.x86_64 on Amazon Linux 2
To uninstall only the emacs.x86_64
package we can use the following command:
sudo yum remove emacs.x86_64
emacs.x86_64 Package Contents on Amazon Linux 2
/usr/bin/emacs
/usr/bin/emacs-27.2
/usr/bin/emacs-27.2.pdmp
/usr/share/appdata/emacs.appdata.xml
/usr/share/applications/emacs.desktop
/usr/share/icons/hicolor/128x128/apps/emacs.png
/usr/share/icons/hicolor/16x16/apps/emacs.png
/usr/share/icons/hicolor/24x24/apps/emacs.png
/usr/share/icons/hicolor/32x32/apps/emacs.png
/usr/share/icons/hicolor/48x48/apps/emacs.png
/usr/share/icons/hicolor/scalable/apps/emacs.ico
/usr/share/icons/hicolor/scalable/apps/emacs.svg
/usr/share/icons/hicolor/scalable/mimetypes/emacs-document.svg
References
Summary
In this tutorial we learn how to install emacs.x86_64
on Amazon Linux 2 using yum.