fake-ghc-cabal-dev: 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/fake-ghc-cabal-dev - from package: cabal-dev

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