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

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