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

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