hpc: 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/hpc - from package: ghc-compiler

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

On Debian possible default full paths are:

/usr/bin/hpc - from package: ghc
/usr/lib/ghc/bin/hpc - from package: ghc

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