grib_histogram: 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/grib_histogram - from package: grib_api

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

On Debian possible default full paths are:

/usr/bin/grib_histogram - from package: libgrib-api-tools

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