g_mindist: 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_mindist - from package: gromacs

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

On Debian possible default full paths are:

/usr/bin/g_mindist - from package: gromacs

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