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

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