{"id":48239,"date":"2025-02-27T12:33:41","date_gmt":"2025-02-27T12:33:41","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=48239"},"modified":"2025-02-27T12:49:25","modified_gmt":"2025-02-27T12:49:25","slug":"ubuntu-ppa-updated-with-deb-package-for-emacs-30-1","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/02\/ubuntu-ppa-updated-with-deb-package-for-emacs-30-1\/","title":{"rendered":"Ubuntu PPA Updated with Deb Package for Emacs 30.1"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-36513\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Emacs text editor released new major 30.1 version a few days ago. For Ubuntu users who prefer the classic <code>.deb<\/code> package, here&#8217;s <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/emacs\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> updated for all current Ubuntu releases.<\/p>\n<p>Emacs 30.1 features Android port, improved touchscreen support, new <code>trusted-content<\/code> option, native JSON support, default app for &#8216;org-protocol&#8217;, ability to set toolbar to bottom, new packages, and more. See the <a href=\"https:\/\/www.gnu.org\/savannah-checkouts\/gnu\/emacs\/news\/NEWS.30.1\" target=\"_blank\" rel=\"noopener\">NEWS page<\/a> for details.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/emacs301.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48199\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/emacs301-700x694.webp\" alt=\"\" width=\"610\" height=\"605\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/emacs301-700x694.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/emacs301-300x298.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/emacs301.webp 752w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>GNU Emacs does not provide pre-build installer packages. Besides building from the <a href=\"https:\/\/ftp.gnu.org\/gnu\/emacs\/\" target=\"_blank\" rel=\"noopener\">source tarball<\/a>, here are unofficial <a href=\"https:\/\/snapcraft.io\/emacs\" target=\"_blank\" rel=\"noopener\">Snap package<\/a> (available in Ubuntu Software or App Center) and <a href=\"https:\/\/flathub.org\/apps\/org.gnu.emacs\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a> that run in sandbox environment.<\/p>\n<p>If you prefer the native <code>.deb<\/code> package, then I&#8217;ve built Emacs 30.1 into PPA for Ubuntu, Linux Mint, and their based systems on amd64 and armhf\/arm64 platforms.<\/p>\n<h3>Emacs PPA (unofficial):<\/h3>\n<p><b>The PPA package was backported from <a href=\"https:\/\/launchpad.net\/debian\/+source\/emacs\" target=\"_blank\" rel=\"noopener\">Debian upstream<\/a>. Besides the build dependencies (each Ubuntu version has its own versions of dependency libraries), nothing has changed from upstream. See <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/emacs\/+packages\" target=\"_blank\" rel=\"noopener\">this page<\/a> for debian\/rules and build-log.<\/b><\/p>\n<p>PLEASE backup before upgrading Emacs from an old version, as it MAY break things!<\/p>\n<p>To add the PPA and install Emacs 30.1, open terminal (Ctrl+Alt+T) and run commands below one by one:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/emacs\r\nsudo apt update\r\nsudo apt install emacs<\/pre>\n<p>For choice, you may install <code>emacs-nox<\/code> (no GUI), <code>emacs-lucid<\/code> (Lucid GUI), or <code>emacs-pgtk<\/code> for GTK+ Wayland GUI.<\/p>\n<p>(Optional) To uninstall, use commands:<\/p>\n<pre>sudo apt remove --autoremove emacs-common<\/pre>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/emacs<\/pre>\n<p>For other packages, see this <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2023\/08\/gnu-emacs-29-1-ubuntu-ppa\/\" target=\"_blank\" rel=\"noopener\">step by step guide<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Emacs text editor released new major 30.1 version a few days ago. For Ubuntu users who prefer the classic .deb package, here&#8217;s unofficial PPA updated for all current Ubuntu releases. Emacs 30.1 features Android port, improved touchscreen support, new trusted-content option, native JSON support, default app for &#8216;org-protocol&#8217;, ability to set toolbar to bottom, new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36513,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[596],"class_list":["post-48239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-emacs"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48239","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=48239"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48239\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/36513"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=48239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=48239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=48239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}