mia-2dcost: 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/mia-2dcost - from package: mia-tools

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