
{"id":36486,"date":"2021-12-25T15:33:36","date_gmt":"2021-12-25T15:33:36","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=36486"},"modified":"2025-07-07T14:09:29","modified_gmt":"2025-07-07T14:09:29","slug":"install-geany-ppa-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/12\/install-geany-ppa-ubuntu\/","title":{"rendered":"How to Install Geany IDE (2.1 Updated) via PPA in Ubuntu 24.04, 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/geany-icon.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-36487\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/geany-icon-250x250.png\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/geany-icon-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/geany-icon-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/geany-icon-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/geany-icon-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/geany-icon.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>Merry Christmas to all my dear readers!<\/b> In this tutorial I&#8217;m going to introduce the new Ubuntu PPA for Geany IDE.<\/p>\n<p>Geany is a free open-source lightweight IDE for BSD, Linux, macOS, Solaris and Windows. It supports many programming languages including C, C++, Java, PHP, HTML, LaTeX, Python, Perl, and more.<\/p>\n<p>Geany does not provides official Linux packages. And, Ubuntu includes fixed versions in its repositories which are always old. For request, I created an unofficial PPA that contains the latest Geany 2.0 as well as its plugins, while the <a href=\"https:\/\/launchpad.net\/~geany-dev\/+archive\/ubuntu\/ppa\" target=\"_blank\" rel=\"noopener\">\u201cGeany Developers\u201d team PPA<\/a> has not been updated for a year.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44563\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/geany20-600x428.webp\" alt=\"\" width=\"600\" height=\"428\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/geany20-600x428.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/geany20-300x214.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/geany20-768x547.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/geany20.webp 1006w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/geany\" target=\"_blank\" rel=\"noopener\">The PPA<\/a> supports all current Ubuntu releases, including Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.10, and their based systems, e.g., Linux Mint 21, and Zorin OS 17. And, you can install it on <b>64-bit<\/b> modern PC,\u00a0and\/or <b>arm64\/armhf<\/b> devices (e.g., Apple Silicon and Raspberry Pi).<\/p>\n<p>As not a programmer, I&#8217;m not very sure, but the IDE package seems working good in my case in Ubuntu 22.04.<\/p>\n<h3>What&#8217;s New in Geany 2.0:<\/h3>\n<ul>\n<li>Split &#8220;session data&#8221; into session.conf, preferences are written to and read from geany.conf.<\/li>\n<li>Re-add ability to scroll over document tabs.<\/li>\n<li>Use new tree view as default for the document list in the sidebar.<\/li>\n<li>Dark-theme friendly colors for compiler message<\/li>\n<li>Filter entry for symbol tree.<\/li>\n<li>Simplify project creation from existing directories with sources.<\/li>\n<li>Add option to show symbols in symbol tree without category groups.<\/li>\n<li>Add option to only show line endings if they differ from file default.<\/li>\n<li>Make tab label length and window title length configurable.<\/li>\n<li>Make Go to Symbol commands show signature list.<\/li>\n<li>Scintilla 5.3.7 and Lexilla 5.2.7<\/li>\n<li>Add &#8220;Change history&#8221; feature (disabled by default)<\/li>\n<li>Sync many parsers from the Universal Ctags project<\/li>\n<li>Improved support for the ctags file format<\/li>\n<li>Update Kotlin, Nim, PHP, Python filetype config<\/li>\n<li>Apply Markdown header style to the complete header<\/li>\n<li>Add AutoIt, GDScript filetype<\/li>\n<li>Remove Ferite filetype<\/li>\n<li>Enable local variables and improve autocompletion for C\/C++ and some other languages<\/li>\n<li>Use &#8220;Prof-Gnome&#8221; GTK theme and GTK dialogs on Windows.<\/li>\n<\/ul>\n<h3>Install Geany 2.1 in Ubuntu via PPA:<\/h3>\n<p>Firstly, press <b>Ctrl+Alt+T<\/b> on keyboard to open a terminal window. Or search for and open terminal from start menu if you&#8217;re not on Ubuntu. When it opens, run the commands below one by one.<\/p>\n<h4>1. Add the PPA<\/h4>\n<p>Copy and paste (<i>Ctrl+Shift+V<\/i>) the command below into terminal and hit run will add the PPA repository:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/geany<\/pre>\n<p><i>As sudo command, you have to type user password (no visual feedback) to authenticate. After that, hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/add-geany-ppa.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-36489\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/add-geany-ppa.png\" alt=\"\" width=\"600\" height=\"229\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/add-geany-ppa.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/add-geany-ppa-300x115.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4>2. Update system package cache:<\/h4>\n<p>Since Ubuntu 20.04, it does automatically update the package cache while adding PPA. However, <del datetime=\"2024-03-01T14:08:45+00:00\">old Ubuntu releases (18.04)<\/del> and some based systems may not. So, run command below to check updates manually:<\/p>\n<pre>sudo apt update<\/pre>\n<h4>3. Install or Upgrade Geany:<\/h4>\n<p>If you already have an old version of the IDE package installed on your system, launch &#8220;Software Updater&#8221; (or Update Manager) to upgrade it:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/upgrade-geany-plugins.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-36490\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/upgrade-geany-plugins-600x404.webp\" alt=\"\" width=\"600\" height=\"404\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/upgrade-geany-plugins-600x404.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/upgrade-geany-plugins-300x202.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/upgrade-geany-plugins.webp 714w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Or, run command below in terminal to install\/upgrade the package:<\/p>\n<pre>sudo apt install geany geany-plugins<\/pre>\n<h3>Uninstall \/ Remove Geany:<\/h3>\n<p>You have two choices to get rid of the Geany packages from this Ubuntu PPA.<\/p>\n<h4>Option 1: Purge the Ubuntu PPA:<\/h4>\n<p>User may purge the Ubuntu PPA, which also downgrade all installed package (from that PPA) to the stock version in Ubuntu main repositories. To do so, run command:<\/p>\n<pre>sudo apt install ppa-purge &amp;&amp; sudo ppa-purge ppa:ubuntuhandbook1\/geany<\/pre>\n<h4>Option 2: Remove the Ubuntu PPA and\/or Geany package:<\/h4>\n<p>To remove the Ubuntu PPA without affecting all installed packages, either open &#8220;Software &amp; Updates&#8221; and remove relevant line from &#8220;Other Software&#8221; tab.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/remove-geany-ppa.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-36491\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/remove-geany-ppa-600x290.webp\" alt=\"\" width=\"600\" height=\"290\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/remove-geany-ppa-600x290.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/remove-geany-ppa-300x145.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/remove-geany-ppa-768x371.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/remove-geany-ppa.webp 1012w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Or, just run the command below in a terminal window:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/geany<\/pre>\n<p>For choice, you may also remove the Geany IDE via command:<\/p>\n<pre>sudo apt remove --autoremove geany geany-plugins<\/pre>\n<p>That&#8217;s all. Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>Merry Christmas to all my dear readers! In this tutorial I&#8217;m going to introduce the new Ubuntu PPA for Geany IDE. Geany is a free open-source lightweight IDE for BSD, Linux, macOS, Solaris and Windows. It supports many programming languages including C, C++, Java, PHP, HTML, LaTeX, Python, Perl, and more. Geany does not provides [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36487,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[901],"class_list":["post-36486","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-code-editor"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/36486","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=36486"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/36486\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/36487"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=36486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=36486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=36486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}