geany: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/geany - from package: geany

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/geany - from package: geany

You may install the required package with command apt-get install {package}
Error in other languages:
geany: bevel nie gevind nie
geany: comandă negăsită
geany: comando não encontrado
geany: commande introuvable
geany: command not found
geany: käsku ei ole
geany: không tìm thấy lệnh
geany: komanda nerasta
geany: Kommando nicht gefunden.
geany: kommandot finns inte
geany: komut yok
geany: nie znaleziono polecenia
geany: níor aimsíodh an t-ordú
geany: no se encontró la orden
geany: no s'ha trobat l'ordre
geany: opdracht niet gevonden
geany: parancs nem található
geany: perintah tidak ditemukan
geany: príkaz nenájdený
geany: příkaz nenalezen
geany: команда не найдена
geany: командата не е открита
geany: 命令找不到
geany: コマンドが見つかりません