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

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