r.out.ppm3: 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/lib64/grass-6.4.4/bin/r.out.ppm3 - from package: grass

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

On Debian possible default full paths are:

/usr/lib/grass64/bin/r.out.ppm3 - from package: grass-core

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