nec2c: 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 CentOS possible default full paths are:

/usr/bin/nec2c - from package: nec2c

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/nec2c - from package: nec2c

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