bamg: 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/bamg - from package: rheolef

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