Edit: Due to the fact that this article is old, the installation instructions may not work anymore. In order to successfully install the latest version of Geany, please access the geany tag and open the latest article (the one on top).

The latest installation instructions for Geany
Hello Linux Geeksters. As you may know, Geany is a small and lightweight IDE, which uses the GTK2 toolkit. Among others, it has syntax highlighting features, code completion, auto completion of constuctors and has support for C, Java, PHP, HTML, Python, Perl, Pascal.
The latest version available is Geany 1.24.1, which has been recently released.
In this article I will show you how to install Geany 1.24.1 on Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 13 Maya, Pinguy OS 14.04, Elementary OS 0.3 Freya, Deepin 2014, Peppermint Five, LXLE 14.04, Linux Lite 2.0 and other Ubuntu 14.04 derivative systems.
Because it is available via PPA, installing Geany 1.24.1 on Ubuntu 14.04 and derivative systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the geany package. Like this:
$ sudo add-apt-repository ppa:geany-dev/ppa
$ sudo apt-get update
$ sudo apt-get install geany
Optional, to remove geany, do:
$ sudo apt-get remove geany