grid-matching: 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/grid-matching - from package: mrpt-apps

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