cabal-tweak-dep-ver: 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-tweak-dep-ver - from package: ghc-rpm-macros

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