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

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