agh-profile-gen: 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/agh-profile-gen - from package: aghermann

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