aainfo: 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/aainfo - from package: aalib

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/aainfo - from package: libaa-bin

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