{"id":32761,"date":"2020-09-21T13:48:18","date_gmt":"2020-09-21T13:48:18","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=32761"},"modified":"2024-04-24T16:26:23","modified_gmt":"2024-04-24T16:26:23","slug":"install-emacs-27-1-ppa-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/09\/install-emacs-27-1-ppa-ubuntu-20-04\/","title":{"rendered":"How to Install Emacs 27.1 via PPA in Ubuntu 20.04, 18.04, 16.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/emacs-icon245.png\" alt=\"\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-6262\" \/><\/p>\n<p>For those prefer Deb package to the containerized Snap or Flatpak package, Emacs text editor 27.1 now is available to install via an Ubuntu PPA for all the current releases.<\/p>\n<p><a href=\"https:\/\/www.gnu.org\/savannah-checkouts\/gnu\/emacs\/emacs.html#Releases\" rel=\"noopener\" target=\"_blank\">GNU Emacs 27.1<\/a> was released more than 1 month ago. Thanks to Kevin Kelley, you can now install it in Ubuntu via this <a href=\"https:\/\/launchpad.net\/~kelleyk\/+archive\/ubuntu\/emacs\" rel=\"noopener\" target=\"_blank\">PPA repository<\/a>.<\/p>\n<p>The PPA package features:<\/p>\n<ul>\n<li>native support for JSON<\/li>\n<li>support for ACLs<\/li>\n<li>support for libgmp<\/li>\n<li>support for enhanced text rendering through Cairo and HarfBuzz<\/li>\n<li>remove ImageMagick support<\/li>\n<li>remove xwidgets support for Ubuntu 16.04.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/emacs27.png\" alt=\"\" width=\"600\" height=\"420\" class=\"aligncenter size-full wp-image-32762\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/emacs27.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/emacs27-450x315.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>1.<\/b> Open terminal either from system application launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:kelleyk\/emacs<\/pre>\n<p><i>Type user password (no asterisk feedback) if it asks and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/kelleyk-emacs-ppa.png\" alt=\"\" width=\"600\" height=\"158\" class=\"aligncenter size-full wp-image-32763\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/kelleyk-emacs-ppa.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/kelleyk-emacs-ppa-450x119.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> Then refresh system package cache and install the editor via 2 commands:<\/p>\n<pre style=\"border:none;\">sudo apt update\r\n\r\nsudo apt install emacs27<\/pre>\n<p>If you want, you can install the text-only user interface via <code>sudo apt install emacs27-nox<\/code>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/apt-emacs27.png\" alt=\"\" width=\"600\" height=\"280\" class=\"aligncenter size-full wp-image-32764\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/apt-emacs27.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/09\/apt-emacs27-450x210.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>The PPA also contains <code>emacs26<\/code> and <code>emacs25<\/code> packages for choices.<\/p>\n<p>(<b>Optional<\/b>) To uninstall the PPA, either go to &#8216;Software &#038; Updater -> Other Software&#8217;, or run command:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository --remove ppa:kelleyk\/emacs<\/pre>\n<p>And remove the Emacs text editor if you want by running command:<\/p>\n<pre style=\"border:none;\">sudo apt remove --autoremove emacs27<\/pre>","protected":false},"excerpt":{"rendered":"<p>For those prefer Deb package to the containerized Snap or Flatpak package, Emacs text editor 27.1 now is available to install via an Ubuntu PPA for all the current releases. GNU Emacs 27.1 was released more than 1 month ago. Thanks to Kevin Kelley, you can now install it in Ubuntu via this PPA repository. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1985],"class_list":["post-32761","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-emacs-27-ppa"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/32761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=32761"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/32761\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=32761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=32761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=32761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}