nyshell-g77: 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/nyshell-g77 - from package: patchy-g77

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