emacs24-x: 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/emacs24-x - from package: emacs24

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