r.compress: 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.compress - 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.compress - from package: grass-core

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