g_rmsdist: 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/bin/g_rmsdist - from package: gromacs

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

On Debian possible default full paths are:

/usr/bin/g_rmsdist - from package: gromacs

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