{"id":8843,"date":"2019-04-14T15:00:40","date_gmt":"2019-04-14T15:00:40","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8843"},"modified":"2019-04-14T15:01:06","modified_gmt":"2019-04-14T15:01:06","slug":"gnu-emacs-26-2-released-install-in-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/04\/gnu-emacs-26-2-released-install-in-ubuntu-18-04\/","title":{"rendered":"Gnu Emacs 26.2 Released, How to Install in Ubuntu 18.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>Gnu Emacs text editor 26.2 was released yesterday with a wide variety of new features. Here&#8217;s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, and derivatives.<\/p>\n<p>New features in Gnu Emacs 26.2 include:<\/p>\n<ul>\n<li>Emacs modules can now be built outside of the Emacs tree source.<\/li>\n<li>Compliant with the latest 11.0 of the Unicode Standard.<\/li>\n<li>In Dired, the &#8216;Z&#8217; command on a directory name compresses all of its files.<\/li>\n<li>New toggle &#8216;ibuffer-do-toggle-lock&#8217;, bound to &#8216;L&#8217;.<\/li>\n<li>The value for &#8216;imenu-auto-rescan-maxout&#8217; increased to 600000.<\/li>\n<li>Supports 24-bit colors on capable text terminals.<\/li>\n<li>VC support for Mercurial was improved<\/li>\n<li>And many other changes, see the <a href=\"https:\/\/www.gnu.org\/software\/emacs\/news\/NEWS.26.2\" rel=\"noopener\" target=\"_blank\">changelog<\/a>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-600x403.jpg\" alt=\"\" width=\"600\" height=\"403\" class=\"aligncenter size-large wp-image-8649\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-600x403.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-450x302.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-768x516.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26.jpg 904w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h4>How to Install Emacs 26.2 in Ubuntu:<\/h4>\n<p><b>1.<\/b> Open terminal either via <b>Ctrl+Alt+T<\/b> keyboard shortcut or by searching for &#8220;Terminal&#8221; from start menu. When it opens, run command to add the <a href=\"https:\/\/launchpad.net\/~kelleyk\/+archive\/ubuntu\/emacs\" rel=\"noopener\" target=\"_blank\">PPA repository<\/a>:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:kelleyk\/emacs<\/pre>\n<p><i>Type user password (no asterisk feedback due to security reason) when prompts and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs-ppa-bionic-600x87.jpg\" alt=\"\" width=\"600\" height=\"87\" class=\"aligncenter size-large wp-image-8650\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs-ppa-bionic-600x87.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs-ppa-bionic-450x65.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs-ppa-bionic.jpg 747w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> Then install <code>Emacs26<\/code> either via Synaptic package manager, or by running following commands one by one in terminal:<\/p>\n<pre style=\"border:none;\">sudo apt update\r\n\r\nsudo apt install emacs26<\/pre>\n<p>For text-only interface, replace <code>emacs26<\/code> with <code>emacs26-nox<\/code> in the last command. And Ubuntu 18.04 and higher can skip <code>apt update<\/code> command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-install-600x252.jpg\" alt=\"\" width=\"600\" height=\"252\" class=\"aligncenter size-large wp-image-8651\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-install-600x252.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-install-450x189.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/emacs26-install.jpg 764w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Once installed, open emacs from your system application launcher and enjoy!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/gnome-launch-emacs-450x213.jpg\" alt=\"\" width=\"450\" height=\"213\" class=\"aligncenter size-medium wp-image-8652\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/gnome-launch-emacs-450x213.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/02\/gnome-launch-emacs.jpg 558w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p><b>How to Remove:<\/b><\/p>\n<p>To remove Emacs26, open terminal and run commands:<\/p>\n<pre style=\"border:none;\">sudo apt remove --autoremove emacs26 emacs26-nox<\/pre>\n<p>The PPA can be removed by going to <b>Software &#038; Updates -> Other Software<\/b> tab.<\/p>","protected":false},"excerpt":{"rendered":"<p>Gnu Emacs text editor 26.2 was released yesterday with a wide variety of new features. Here&#8217;s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, and derivatives. New features in Gnu Emacs 26.2 include: Emacs modules can now be built outside of the Emacs tree source. Compliant with the latest 11.0 [&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,6],"tags":[1691],"class_list":["post-8843","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-gnu-emacs-26-ubuntu"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8843","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=8843"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8843\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}