hexterm: 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/hexterm - from package: chiark-scripts

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