amk_p2: 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/lib/debug/usr/bin/amk_p2 - from package: scotch-dbg
/usr/bin/amk_p2 - from package: scotch

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