Geany is a great and light weight cross-platform integrated development environment for Linux and Unix based systems. It supports C, C++, Java, PHP, Python and 50+ other programming languages. Geany is known to run under Linux, FreeBSD, NetBSD, OpenBSD, MacOS X, AIX v5.3, Solaris Express and Windows. Geany more closely resembles programming editors available for Microsoft Windows such as Notepad++. So if, you are switching from MS-Windows to Ubuntu/Debian/Fedora/Mint or BSD/OS X/Unix like platform try geany IDE.
Features
From the project home page:
Geany was developed to provide a small and fast IDE, which has only a few dependencies from other packages. Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME - Geany only requires the GTK2 runtime libraries. Features of Geany:
- Syntax highlighting
- Code folding
- Symbol name auto-completion
- Construct completion/snippets
- Auto-closing of XML and HTML tags
- Call tips
- Symbol lists
- Code navigation
- Build system to compile and execute your code
- Simple project management
- Plugin interface
Install Geany Under Debian or Ubuntu Linux
Type the following command:
$ sudo apt-get install geany geany-common
Debian Linux user can install latest version using backports:
$ sudo apt-get -t squeeze-backports install geany geany-common
Install Geany Under CentOS / RHEL / Fedora Linux
First, turn on EPEL repo and type the following yum command to install geany:
# yum install geany
Sample outputs:
Loaded plugins: auto-update-debuginfo, protectbase, rhnplugin 0 packages excluded due to repository protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package geany.x86_64 0:0.21-1.el6 will be installed --> Processing Dependency: vte for package: geany-0.21-1.el6.x86_64 --> Running transaction check ---> Package vte.x86_64 0:0.25.1-7.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================== Package Arch Version Repository Size ====================================================================================================== Installing: geany x86_64 0.21-1.el6 epel 2.8 M Installing for dependencies: vte x86_64 0.25.1-7.el6 rhel-x86_64-server-6 354 k Transaction Summary ====================================================================================================== Install 2 Package(s) Total download size: 3.1 M Installed size: 11 M Is this ok [y/N]:
Install geany under FreeBSD
To install the geany via port, enter:
# cd /usr/ports/devel/geany/
# make install clean
## plugins ##
# cd /usr/ports/devel/geany-plugin-addons/
# make install clean
To add the binary geany package, enter
# pkg_add -r geany
## plugins
# pkg_add -r geany-plugin-addons
Install geany under OpenBSD
Type the following command:
# export PKG_PATH=http://mirror.esc7.net/pub/OpenBSD/`uname -r`/packages/`machine -a`/
# pkg_add -v -i geany
Install geany under Linux / Unix using source code
Geany is available through the official Debian / Ubuntu and other archives. However, you will get older stable version. To install the latest version type the following commands:
$ cd /tmp
$ wget http://download.geany.org/geany-1.22.tar.gz
$ wget http://download.geany.org/geany-1.22.tar.gz.sig
$ wget http://download.geany.org/colombanw-pubkey.txt
$ gpg --import < colombanw-pubkey.txt
$ rm colombanw-pubkey.txt
$ gpg --verify geany-1.22.tar.gz.sig geany-1.22.tar.gz
Untar the tar ball, enter:
$ tar xvf geany-1.22.tar.gz
Compile geany, enter:
$ cd geany-1.22/
$ ./configure
$ make
Install geany, enter:
$ sudo make install
Start geany, enter:
$ /usr/local/bin/geany
How do I start geany?
Simply type the following command:
$ geany
Or, choose in your application menu of your used Desktop Environment:
Applications > Development / Programming > Geany
Sample outputs:
A simple hello.c (hello world) program:

Fig.02: Geany IDE: hello.c - build and executed program
Geany has its own build system. In above example, I compiled and executed program without having to open a terminal window or another application.
Geany plugins
Geany has a feature rich plug-ins. By default, it will install a few plug-ins in your system. To see current plug-ins, visit:
Tools > Plugins Manager
Sample outputs:
Type the following command to see plugins list:
$ apt-cache search geany-pluginSample outputs:
geany-plugin-addons - miscellanous plugins for Geany geany-plugin-doc - a documentation plugin for Geany geany-plugin-gdb - GDB plugin for Geany geany-plugin-latex - improved LaTeX support plugin for Geany geany-plugin-lipsum - Lorem Ipsum generator plugin for Geany geany-plugin-lua - Lua scripting plugin for Geany geany-plugin-prj - an alternative project manager for Geany geany-plugin-sendmail - mailer plugin for Geany geany-plugin-shiftcolumn - text column shifting plugin for Geany geany-plugin-spellcheck - spellcheck plugin for Geany geany-plugin-vc - VCS plugin for Geany geany-plugins-common - set of plugins for Geany (translations) geany-plugins - set of plugins for Geany geany-plugin-codenav - code navigation plugin for Geany geany-plugin-debugger - debugger plugin for Geany geany-plugin-extrasel - extra selection plugin for Geany geany-plugin-gendoc - documentation generation plugin for Geany geany-plugin-gproject - gproject plugin for Geany geany-plugin-insertnum - number inserting plugin for Geany geany-plugin-macro - macro plugin for Geany geany-plugin-numberedbookmarks - numbered bookmarks plugin for Geany geany-plugin-pg - pg plugin for Geany geany-plugin-prettyprinter - XML pretty printer for Geany geany-plugin-tableconvert - table convert plugin for Geany geany-plugin-treebrowser - tree browser plugin for Geany geany-plugin-updatechecker - update checker plugin for Geany geany-plugin-webhelper - web helper plugin for Geany geany-plugin-xmlsnippets - XMLSnippets plugin for Geany
To install VCS plugin for Geany, enter:
$ sudo apt-get install geany-plugin-vc
Editor features
Geany offers various editor features such as:
- Auto save.
- Auto backup.
- Autocompletion.
- Word part completion.
- Auto close quotes and brackets.
- Code indentation.
- Scope autocompletion.
- Snippet keybindings and much more.
Visit Edit > Preferences:
- Editor features
- Code indentation settings
- Code completions settings
- Editor display settings
But wait, there's more!
Geany has a dedicated third-party plug-ins repository at plugins.geany.org. What you will find here is a lot of plugin stuff for Geany. There is a Geany Plugins project containing a lot of plugins, which is developed by various developers on GitHub.
Conclusion
I liked geany because of its speed and small size. You do not need to install entire KDE or Gnome desktop or Java bloat to use GUI based IDE. It lets me compile and execute / debug code without having to open another terminal. Visit the following resources for more information:
- geany home page - Download geany and/or read the documentation.
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop







![Convert HTML Page To a PDF Using Open Source Tool [ Linux / OS X / Windows ]](http://s0.cyberciti.org/uploads/cms/2013/02/wkhtmltopdf-amd64.output-150x150.jpg)




![HowTo: Linux Hard Disk Encryption With LUKS [ cryptsetup Command ]](http://s0.cyberciti.org/uploads/cms/2013/02/warning-40px-150x150.jpg)




