Steffi
Steffi

Reputation: 917

Cannot use Cabal in Ubuntu

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

Answers (1)

Sibi
Sibi

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

Related Questions