[Haskell-cafe] How to update Cabal manually?
jmartin at eecs.berkeley.edu
Mon Dec 1 03:12:18 UTC 2014
Check your PATH environment variable and make sure that the directory it is
installed in appears first in the list.
I believe the default installation directory for OS X is:
To have OS X use the latest cabal (without overwriting anything), you can
do something like this in your login script (default login script is
On Sun, Nov 30, 2014 at 7:03 PM, Jeffrey Brown <jeffbrown.the at gmail.com>
> "cabal install cabal-install" is not working for me. I am not the first to
> find this problem; it is mentioned here
> "Notice, that in some cases (OS X, especially) the new cabal-install might
> not be installed on top of the previous one, and the old cabal-install must
> be replaced manually"
> I don't know how to manually replace Cabal. The closest thing I could find
> to instructions for that were here
> but I don't understand them.
> The Haskell Platform installer is what installed Cabal for me. I have not
> found how to undo that, nor how to install Cabal in any other fashion.
> Running the Haskell Platform installer again seems dangerous, potentially
> conflicting with its earlier work.
> A likely unnecessary shell transcript demonstrating the problem appears
> I am running OS X 10.9 on a MacBook Pro, of which the decision to purchase
> I regret more daily.
> Thank you.
> When I try to update cabal, it looks like it works:
> jefferys-mbp:~ jbb$ cabal install cabal-install
> Resolving dependencies...
> Configuring cabal-install-220.127.116.11...
> Building cabal-install-18.104.22.168...
> Installed cabal-install-22.214.171.124
> Updating documentation index
> But the version number exhibits no change:
> jefferys-mbp:~ jbb$ cabal --version
> cabal-install version 126.96.36.199
> using version 188.8.131.52 of the Cabal library
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe