xml2ag: 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/xml2ag - from package: autogen

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