GNU Emacs text editor 26.3 was released last night. Here’s how to install it in Ubuntu 18.04 and higher.
Emacs 26.3 is a maintenance release contains following changes:
New GPG key for GNU ELPA package signature checking.
New option ‘help-enable-completion-auto-load’, allows disabling the new feature introduced in Emacs 26.1 which loads files during completion of ‘C-h f’ and ‘C-h v’ according to ‘definition-prefixes’.
Emacs now supports the new Japanese Era name.
How to Install Emacs 26.3 in Ubuntu 18.04 and higher:
Emacs 26.3 has made into Snap Store as containerized snap package. For Ubuntu 18.04 and higher, simply search for and install it via Ubuntu Software.
For those prefer native Ubuntu .deb package, this PPA repository contains the most recent Emacs packages for Ubuntu 16.04, Ubuntu 18.04 and higher. Emacs 26.3 packages should be made into the PPA in a few days.
This quick tutorial shows how to install the latest GNU Emacs 26.1 in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Linux Mint 18,x, 19.x, and their derivatives.
While Ubuntu ships old versions in its universe repositories and don’t provide future updates, a stable PPA repository maintained by Kevin Kelley contains the 26.1 packages with mailutils, systemd, and xwidgets support for all current Ubuntu releases.
1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for “Terminal” from start menu. When it opens, run command to add the PPA:
sudo add-apt-repository ppa:kelleyk/emacs
Type user password (no asterisk feedback due to security reason) when prompts and hit Enter.
2. Then install Emacs26 either via Synaptic package manager, or by running following commands one by one in terminal:
sudo apt update
sudo apt install emacs26
For text-only interface, replace emacs26 with emacs26-nox in the last command. And Ubuntu 18.04 and higher can skip apt update command.
Once installed, open emacs from your system application launcher and enjoy!
How to Remove:
To remove Emacs26, open terminal and run commands:
sudo apt remove --autoremove emacs26 emacs26-nox
The PPA can be removed by going to Software & Updates -> Other Software tab.
GNU Emacs has finally reached version 24.4 with many new features and improvements. The most notable is that the text editor brings a built-in web browser.
GNU Emacs is the most popular and most ported Emacs text editor, and it was created by Richard Stallman for the GNU Project.
The latest release Emacs 24.4 was released a few hours ago. The new release features:
A built-in web browser (M-x eww)
Improved multi-monitor and fullscreen support
“Electric” indentation is enabled by default
Support for saving and restoring the state of frames and windows
Emacs Lisp packages can now be digitally signed
A new “advice” mechanism for Emacs Lisp
File notification support
Pixel-based resizing for frames and windows
Support for menus in text terminals
A new rectangular mark mode (C-x SPC)
How to Install Emacs 24.4 in Ubuntu:
At the moment of writing this tutorial, there’s no PPA repository that contains Emacs 24.4. Fortunately, it’s not hard to build it from the source tarball. I’ve done it successfully in 64-bit Ubuntu 14.04 LTS. Below steps will show you how:
1. If have the old Emacs 24.3 installed, you may first remove it from Ubuntu Software Center so that you can install the new version over it.
2. Press Ctrl+Alt+T on keyboard to open terminal, or open it from the Unity Dash.
3. Run command below to install the build-essential:
sudo apt-get install build-essential
4. Install the required dependencies:
sudo apt-get build-dep emacs24
While the installing process, you’ll be asked to configure the Postfix.
5. Now download Emacs 24.4 from its official FTP download page.
This tutorial shows how to install the latest stable GNU Emacs (so far, it’s 24.3) in Ubuntu 13.04 Raring, Ubuntu 12.10, Ubuntu 12.04 Precise and their deviratives such as Linux Mint and Elementary OS Luna via PPA.
Highlights of Emacs 24.3 include:
Generalized variables are now in core Emacs Lisp.
An update for the Common Lisp emulation library.
A new major mode for Python.
There are many more changes; for a summary see the etc/NEWS file, which you can view from Emacs with `C-h n’.
Install / Upgrade Emacs 24.3 via PPA:
Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to add the PPA:
sudo add-apt-repository ppa:cassou/emacs
Then update package lists on your system:
sudo apt-get update
After that, you can install or upgrade via synaptic package manager, which is available in Ubuntu Software Center. Or just run below command: