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

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