How To Install emacs-el on CentOS 7
Introduction
In this tutorial we learn how to install emacs-el
on CentOS 7.
What is emacs-el
Emacs-el contains the emacs-elisp sources for many of the elisp programs included with the main Emacs text editor package. You need to install emacs-el only if you intend to modify any of the Emacs packages or see some elisp examples.
We can use yum
or dnf
to install emacs-el
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-el.
Install emacs-el on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install emacs-el
using yum
by running the following command:
sudo yum -y install emacs-el
Install emacs-el on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install emacs-el
using dnf
by running the following command:
sudo dnf -y install emacs-el
How To Uninstall emacs-el on CentOS 7
To uninstall only the emacs-el
package we can use the following command:
sudo dnf remove emacs-el
References
Summary
In this tutorial we learn how to install emacs-el
on CentOS 7 using yum
and dnf
.