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

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