fatnew-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

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/fatnew-gfortran - from package: cernlib-packlib-gfortran

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