xpainfo: 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/xpainfo - from package: xpa

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

On Debian possible default full paths are:

/usr/bin/xpainfo - from package: xpa-tools

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