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

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