g_bar: 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_bar - from package: gromacs

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

On Debian possible default full paths are:

/usr/bin/g_bar - from package: gromacs

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