Install GNU Emacs on Ubuntu Linux. GNU Emacs is an extensible, customizable, free/libre text editor — and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing.
Features of GNU Emacs:
- Content-aware editing modes, including syntax coloring, for many file types.
- Complete built-in documentation, including a tutorial for new users.
- Full Unicode support for nearly all human scripts.
- Highly customizable, using Emacs Lisp code or a graphical interface.
- An entire ecosystem of functionality beyond text editing, including a project planner, mail and news reader, debugger interface, calendar, and more.
The emacs26 PPA description states that “This emacs26 repository contains updated emacs
packages based on stable releases. The following package series are available: emacs26
: based on 26.x-series releases and emacs25
: based on 25.x-series releases. The emacs26
packages have mailutils
and systemd
support (the two build-time options that are new in emacs26
) enabled. The emacs26
packages for 14.04 have failed to build because not all of the dependencies that are required to enable these options are available. The emacs26
packages have xwidgets support. The emacs25
packages do not. If you are interested in xwidgets support in emacs25
, please send me a note; it would not be hard to update those packages.”
Emacs 26.1 has a wide variety of new features, including:
- Limited form of concurrency with Lisp threads
- Support for optional display of line numbers in the buffer
- Emacs now uses double buffering to reduce flicker on the X Window System
- Flymake has been completely redesigned
- TRAMP has a new connection method for Google Drive
- New single-line horizontal scrolling mode
- A systemd user unit file is provided
- Support for 24-bit colors on capable text terminals
Download – GNU Emacs – Linux
Most GNU/Linux distributions provide GNU Emacs in their repositories, which is the recommended way to install Emacs unless you always want to use the latest release.
You can download GNU Emacs releases from a nearby GNU mirror; or if automatic redirection does not work see the list of GNU mirrors, or use the main GNU ftp server.
Since the 24.5 release, tarballs are signed with the GPG key from Nicolas Petton , fingerprint 28D3 BED8 51FD F3AB 57FE F93C 2335 87A4 7C20 7910
(until 25.3) or D405 AA2C 862C 54F1 7EEE 6BE0 E8BC D786 6AFC F978
(since 26.1), which can be found in the GNU keyring.
Install – GNU Emacs – Linux
For GUI interface
Run the following commands in terminal to install GNU Emacs – GUI interface:
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt install emacs26
For TEXT Only interface
Run the following commands in terminal to install GNU Emacs - text only interface:
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt install emacs26-nox
To uninstall the GNU Emacs, Run the following commands in terminal:
sudo apt remove --autoremove emacs26 emacs26-nox
sudo apt update