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

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