{"id":4129,"date":"2014-10-21T13:46:35","date_gmt":"2014-10-21T13:46:35","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=4129"},"modified":"2021-12-27T15:05:42","modified_gmt":"2021-12-27T15:05:42","slug":"emacs-24-4-released-install-in-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2014\/10\/emacs-24-4-released-install-in-ubuntu-14-04\/","title":{"rendered":"Emacs 24.4 Released, How to Install it in Ubuntu 14.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-icon-logo.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-icon-logo.png\" alt=\"Emacs 24.4 in Ubuntu 14.04\" width=\"245\" height=\"245\" class=\"aligncenter size-full wp-image-4130\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-icon-logo.png 245w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-icon-logo-150x150.png 150w\" sizes=\"auto, (max-width: 245px) 100vw, 245px\" \/><\/a><\/p>\n<p><b>NOTE: This post is outdated. Please read this new tutorial about <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2021\/12\/compile-gnu-emacs-source-ubuntu\/\">compiling GNU Emacs from the source<\/a>.<\/b><\/p>\n<p>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.<\/p>\n<p><a href=\"http:\/\/www.gnu.org\/software\/emacs\/\" title=\"GNU Emacs website\" target=\"_blank\" rel=\"noopener\">GNU Emacs<\/a> is the most popular and most ported Emacs text editor, and it was created by Richard Stallman for the GNU Project.<\/p>\n<p>The latest release Emacs 24.4 was released a few hours ago. The new release features:<\/p>\n<ul>\n<li>A built-in web browser (M-x eww)<\/li>\n<li>Improved multi-monitor and fullscreen support<\/li>\n<li>&#8220;Electric&#8221; indentation is enabled by default<\/li>\n<li>Support for saving and restoring the state of frames and windows<\/li>\n<li>Emacs Lisp packages can now be digitally signed<\/li>\n<li>A new &#8220;advice&#8221; mechanism for Emacs Lisp<\/li>\n<li>File notification support<\/li>\n<li>Pixel-based resizing for frames and windows<\/li>\n<li>Support for menus in text terminals<\/li>\n<li>A new rectangular mark mode (C-x SPC)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-24-4.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-24-4.jpg\" alt=\"Emacs 24.4 in Ubuntu 14.04\" width=\"600\" height=\"365\" class=\"aligncenter size-full wp-image-4131\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-24-4.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/emacs-24-4-300x182.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>How to Install Emacs 24.4 in Ubuntu:<\/b><\/p>\n<p>At the moment of writing this tutorial, there&#8217;s no PPA repository that contains Emacs 24.4. Fortunately, it&#8217;s not hard to build it from the source tarball. I&#8217;ve done it successfully in 64-bit Ubuntu 14.04 LTS. Below steps will show you how:<\/p>\n<p><b>1.<\/b> 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.<\/p>\n<p><b>2.<\/b> Press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal, or open it from the Unity Dash.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal.jpg\" alt=\"Open Terminal to run commands\" width=\"309\" height=\"205\" class=\"aligncenter size-full wp-image-698\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal.jpg 309w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/terminal-300x199.jpg 300w\" sizes=\"auto, (max-width: 309px) 100vw, 309px\" \/><\/a><\/p>\n<p><b>3.<\/b> Run command below to install the build-essential:<\/p>\n<pre style=\"border:none;\">sudo apt-get install build-essential<\/pre>\n<p><b>4.<\/b> Install the required dependencies:<\/p>\n<pre style=\"border:none;\">sudo apt-get build-dep emacs<\/pre>\n<p>While the installing process, you&#8217;ll be asked to configure the Postfix.<\/p>\n<p><b>5.<\/b> Now download Emacs 24.4 from its official FTP download page.<\/p>\n<p style=\"text-align:center;\"><a href='http:\/\/ftp.gnu.org\/gnu\/emacs\/' class='arconix-button arconix-button-large arconix-button-blue' target=\"_blank\" >Emacs FTP download Page<\/a><\/p>\n<p><b>6.<\/b> Extract the source and go into the result folder in terminal:<\/p>\n<pre style=\"border:none;\">cd ~\/Downloads && tar -xf emacs-24.4.tar.* && cd emacs-24.4<\/pre>\n<p><b>7.<\/b> Finally compile the package by running commands below one by one. <\/p>\n<pre style=\"border:none;\">.\/configure\r\n\r\nmake\r\n\r\nsudo make install<\/pre>\n<p>Once done, you should be able to launch Emacs by running <code>emacs<\/code> or <code>emacs-24.4<\/code> in terminal and lock the shortcut to the Unity Launcher.<\/p>\n<p><b>To create a launcher for Emacs 24.4.<\/b> Thanks to Emad Khoury, run command to create a .desktop file and edit it with Gedit text editor:<\/p>\n<pre style=\"border:none;\">sudo gedit \/usr\/share\/applications\/Emacs-24.desktop<\/pre>\n<p>When the file opens, paste below into it and save the file.<\/p>\n<pre style=\"border:none;\">[Desktop Entry]\r\nVersion=1.0\r\nName=Emacs-24\r\nExec=env UBUNTU_MENUPROXY=0 \/usr\/local\/bin\/emacs\r\nTerminal=false\r\nIcon=emacs\r\nType=Application\r\nCategories=IDE\r\nX-Ayatana-Desktop-Shortcuts=NewWindow\r\n[NewWindow Shortcut Group]\r\nName=New Window\r\nTargetEnvironment=Unity<\/pre>\n<p>Depends on where you install Emacs 24, you may replace the value of <b>Exec<\/b> and <b>Icon<\/b> to the path to executable and shortcut icon file.<\/p>","protected":false},"excerpt":{"rendered":"<p>NOTE: This post is outdated. Please read this new tutorial about compiling GNU Emacs from the source. 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, [&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":[596,855,1084],"class_list":["post-4129","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-emacs","tag-ubuntu-14-04","tag-ubuntu-14-10"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4129","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=4129"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4129\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=4129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=4129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=4129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}