papi_avail: 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/papi_avail - from package: papi

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

On Debian possible default full paths are:

/usr/bin/papi_avail - from package: papi-tools

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