average.x: 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/average.x - from package: quantum-espresso

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

On Debian possible default full paths are:

/usr/bin/average.x - from package: quantum-espresso

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