Geany 2.0 Released! How to Install in Ubuntu 22.04, 20.04, 23.10

Last updated: October 20, 2023 — 5 Comments

Geany, the small and fast IDE, released version 2.0 hours ago! Here are the new features as well as how to install guide for Ubuntu users.

Changes in Geany 2.0 according to the official release note:

  • Split “session data” into session.conf, preferences are written to and read from geany.conf.
  • Re-add ability to scroll over document tabs.
  • Use new tree view as default for the document list in the sidebar.
  • Dark-theme friendly colors for compiler messages
  • Confirm dialog on search & replace for the whole session.
  • Filter entry for symbol tree.
  • Simplify project creation from existing directories with sources.
  • Add option to show symbols in symbol tree without category groups.
  • Add option to only show line endings if they differ from file default.
  • Make tab label length and window title length configurable.
  • Make Go to Symbol commands show signature list.
  • Scintilla 5.3.7 and Lexilla 5.2.7
  • Add “Change history” feature (disabled by default)
  • Sync many parsers from the Universal Ctags project
  • Improved support for the ctags file format
  • Update Kotlin, Nim, PHP, Python filetype config
  • Apply Markdown header style to the complete header
  • Add AutoIt, GDScript filetype
  • Remove Ferite filetype
  • Enable local variables and improve autocompletion for C/C++ and some other languages
  • Use “Prof-Gnome” GTK theme and GTK dialogs on Windows.

How to Install Geany 2.0 in Ubuntu:

Geany does not provide official packages for Linux. Besides building from source code, user can choose to use the universal Flatpak package or an unofficial Ubuntu PPA.

Option 1: Flatpak package

The Flatpak package is an universal package format can be installed in most Linux, however it runs in sandbox.

To install Geany as Flatpak package, press Ctrl+Alt+T on keyboard to open terminal. Then, run the 2 commands one by one:

  • First, install Flatpak daemon in case you don’t have it:
    sudo apt install flatpak
  • Then, install Geany Flatpak package:
    flatpak install https://dl.flathub.org/repo/appstream/org.geany.Geany.flatpakref

After installation, search for and launch Geany from either overview screen or start/application menu depends on your desktop environment.

NOTE: For first time installing Flatpak app, needs a log out and back in to make app icon visible.

Option 2: Ubuntu PPA

For those who hate running app in sandbox, I’ve uploaded the package into this unofficial PPA. So far, it supports for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10 on x86_64, arm64/armhf CPU architecture types.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When terminal opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/geany

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Linux Mint users may need to manually refresh system package cache after adding PPA, though it’s done automatically in Ubuntu 20.04 and higher.

To do so, run command:

sudo apt update

3. Finally, install Geany 2.0 as well as plugins by running command:

sudo apt install geany geany-plugins

After successfully installed the packages, search for and launch the IDE from overview or application menu and enjoy!

Uninstall Geany 2.0

For Geany IDE installed as Flatpak package, just run the command below to remove it:

flatpak uninstall --delete-data org.geany.Geany

Also, run flatpak uninstall --unused to clear useless run-time libraries.

For the IDE installed from Ubuntu PPA, remove it by running command in terminal (Ctrl+Alt+T):

sudo apt remove --autoremove geany geany-plugins-common

Also, remove the PPA either by running command in terminal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/geany

Or, use “Software & Updates” by removing the source line under ‘Other Software’ tab.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

5 responses to Geany 2.0 Released! How to Install in Ubuntu 22.04, 20.04, 23.10

  1. Thank you, Geany is a fine program, I use it for many years.

  2. Installed successfully on Xubuntu. Thanks for including the PPA link.

  3. Dear Geany Team,

    I’ve started your command, but org.Geany.Geany fails. @ 23,7MB and 15,3MB it breaks. What should I do? Error reading data from TLS socket… Any help?

    org.geany.Geany permissions:
    ipc network fallback-x11 wayland x11 file access [1]

    [1] host, xdg-run/geany:create

    ID Branch Op Remote Download
    1. [✓] org.freedesktop.Sdk.Locale 23.08 i flathub 108,8 kB / 366,1 MB
    2. [✓] org.freedesktop.Sdk 23.08 i flathub 500,5 MB / 559,5 MB
    3. [✓] org.geany.Geany.Locale stable i flathub 53,9 kB / 3,0 MB
    4. [✗] org.geany.Geany stable i flathub 23,7 MB / 55,8 MB

    Error: While pulling app/org.geany.Geany/x86_64/stable from remote flathub: Error reading data from TLS socket: Decryption has failed.
    error: Failed to install org.geany.Geany: While pulling app/org.geany.Geany/x86_64/stable from remote flathub: Error reading data from TLS socket: Decryption has failed.
    $:~$ flatpak install https://dl.flathub.org/repo/appstream/org.geany.Geany.flatpakref

    org.geany.Geany permissions:
    ipc network fallback-x11 wayland x11 file access [1]

    [1] host, xdg-run/geany:create

    ID Branch Op Remote Download
    1. [✗] org.geany.Geany stable i flathub 15,3 MB / 55,8 MB

    Error: While pulling app/org.geany.Geany/x86_64/stable from remote flathub: Error reading data from TLS socket: Decryption has failed.
    error: Failed to install org.geany.Geany: While pulling app/org.geany.Geany/x86_64/stable from remote flathub: Error reading data from TLS socket: Decryption has failed.
    $:~$

  4. Dear Ji m,
    At the third try Geany download was successful! I finally installed flatpak version and removed 1.38 system version (with plugins) from the system. Such v2.0 runs well with integrated addons – without any issue. Now I’m trying to configure running with Rust 1.77.2 compiler. (If I could, I would like develop emulator(s) in Rust.)
    Thank you for your help!

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*