dune-am2cmake: 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/dune-am2cmake - from package: libdune-common-dev

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