ao-flash-stm: 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/ao-flash-stm - from package: altos

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