How to Install GNU Emacs on Ubuntu 22.04

Install GNU Emacs on Ubuntu 22.04

In this article, we will have explained the necessary steps to install GNU Emacs on Ubuntu 22.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Emacs is an amazing text editor available on all major operating systems from BSD to Linux to macOS and Windows. Emacs make it easier to write source code through syntax highlighting and can be customized by the user. Help is available for the tool as well as support for multiple languages.


  • Operating System with Ubuntu 22.04
  • Server IPv4 Address with Superuser Privileges (Root Access)
  • Gnome Terminal for Linux Desktop
  • PuTTy SSH client for Windows or macOS
  • Powershell for Windows 10/11
  • Familiar with APT Commands

Install GNU Emacs on Ubuntu 22.04 LTS

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade
sudo apt install software-properties-common apt-transport-https wget

Step 2. Install GNU Emacs Text Editor on Ubuntu Linux.

Installing GNU Emacs on your Ubuntu 22.04 Jammy Jellyfish system is straightforward, Now set up and add a repository from the official GNU Emacs Site:

sudo add-apt-repository ppa:kelleyk/emacs -y

Once the package repository has been added successfully, you can then update your system then proceed to install GNU Emacs on Ubuntu:

sudo apt update
sudo apt install emacs28

Step 3. Launch GNU Emacs Text Editor.

Now open the ‘Application’ menu and search for GNU Emacs should now be successfully installed on your system and ready for use.

Install GNU Emacs on Ubuntu 22.04

That’s all you need to do to install Emacs on Ubuntu 22.04 LTS Jammy Jellyfish. I hope you find this quick tip helpful. For further reading on the installation GNU Emacs text editor, please refer to their official knowledge base. I hope this article was helpful to you. If you find it useful, don’t forget to share it with your friend and family. Also, if you have any questions, please feel free to ask in the comments section. We are always there to assist you.