How To Install Emacs Editor on Linux Mint 20
In this tutorial, we will show you how to install Emacs Editor on Linux Mint 20. For those of you who didn’t know, Emacs is a very useful plus feature-rich text editor that may be used across multiple various platforms. Emacs can also be used for coding purposes with support for programming languages like java, c++, and python.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of Emacs customizable text editor on a Linux Mint 20 (Ulyana).
Prerequisites
- A server running one of the following operating systems: Linux Mint 20 (Ulyana).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Emacs Editor on Linux Mint 20 Ulyana
Step 1. Before running the tutorial below, it’s important to make sure your system is up to date by running the following apt
commands in the terminal:
sudo apt update
Step 2. Install Emacs Editor on Linux Mint 20.
- Install Emacs Editor via the APT Package.
Run the following command to install it:
sudo apt install emacs
You can also check the version of your installed emacs through the following command:
emacs --version
- Install Emacs Editor using the PPA repository.
To install Emac editor in your system, you need to add the Emacs PPA repository in your system:
sudo add-apt-repository ppa:kelleyk/emacs
Then, update your system and install it with the following command:
sudo apt update sudo apt install emacs
- Install Emacs Editor using the Snap Package.
Now we run the following commands to install snap and Emacs packages:
sudo rm /etc/apt/preferences.d/nosnap.pref sudo apt update sudo apt install snapd sudo snap install emacs --classic
Step 3. Accessing Emacs Editor on Linux Mint
Once complete installation, Search for the Emacs Editor via the Activities Search Bar on the Ubuntu system.
Congratulations! You have successfully installed Emacs. Thanks for using this tutorial for installing the latest version of the Emacs customizable text editor on the Linux Mint system. For additional help or useful information, we recommend you check the official Emacs website.