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

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