Reputation: 917
I try to perfom
$ cabal --version
but it says cabal is not installed. You can install it by typing sudo apt-get install cabal-install. But when I do so, it says: cabal-install is already the newest version. However, I cannot use it. Why?
Upvotes: 2
Views: 367
Reputation: 48766
It seems that your package isn't properly installed. So remove it cleanly using this command:
sudo apt-get purge cabal-install
And once this is over, re-install it again using the familiar command:
sudo apt-get install cabal-install
Upvotes: 3