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

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