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

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