ghc-7.6.3: 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 Debian possible default full paths are:

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

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