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

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