lazarus-ide-1.2.4: 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 Debian possible default full paths are:

/usr/bin/lazarus-ide-1.2.4 - from package: lazarus-ide-1.2.4

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