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.

emacs

Launch Emacs Editor on Debian

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

How to install Emacs editor on Debian 10