d.text: 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/d.text - 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/d.text - from package: grass-core

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