Emacs is a widely used open-source text editor for Linux. It exists for many years now and can be used for basic word processing, code editing, and scripting, etc.

In this small how-to article, I am going to show you how to install Emacs editor on Debian 10 using the terminal.

To start the installation process, login with root and update the package repository with the following command.

apt-get update

Update packages

Wait for a moment so that the operation can complete.

Next, run the following command on the terminal and wait for the operation to complete. This can take several minutes. When you are asked for confirmation, press Y from your keyboard.

apt-get install emacs

Installing Emacs

To confirm the installation, simply type the following command and it should open up an Emacs editor window.


Launch Emacs Editor on Debian

That’s it. You are done with the installation of Emacs.

How to install Emacs editor on Debian 10

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn