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

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