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

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