osinfo: 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/osinfo - from package: tog-pegasus

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