vainfo: 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/vainfo - from package: libva-utils

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

On Debian possible default full paths are:

/usr/bin/vainfo - from package: vainfo

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