hist2workspace: 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/hist2workspace - from package: root-hist-factory

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

On Debian possible default full paths are:

/usr/bin/hist2workspace - from package: libroot-roofit5.34

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