amap: 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/amap - from package: amap-align

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