amidi: 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 CentOS possible default full paths are:

/usr/bin/amidi - from package: alsa-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/amidi - from package: alsa-utils

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