xdriinfo: 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/xdriinfo - from package: glx-utils

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

On Debian possible default full paths are:

/usr/bin/xdriinfo - from package: x11-utils

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