cgnsnames: 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/cgnsnames - from package: cgns-convert

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