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

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

On Debian possible default full paths are:

/usr/bin/cabal - from package: cabal-install

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