yagf: 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 Debian possible default full paths are:

/usr/bin/yagf - from package: yagf

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