[Haskell-beginners] Cabal: Upgrading to the latest version of library

Yucheng Zhang yczhang89 at gmail.com
Fri Nov 4 12:13:24 CET 2011


On Fri, Nov 4, 2011 at 6:30 PM, Giovanni Tirloni <gtirloni at sysdroid.com> wrote:
> On Wed, Nov 2, 2011 at 1:05 AM, Rustom Mody <rustompmody at gmail.com> wrote:
>>
>> I wonder if you could throw some light on this?
>> Say you just have to use the 'sub-optimal' solution and cabal install some
>> package foo.
>> Later it appears in the rpm list and you can yum install it.
>> How do you now cabal uninstall foo?
>
> I don't know if this is the "right way" but it seems to work:
> ghc-pkg unregister <package>
> rm  the contents from $HOME/.cabal/package/hackage.haskell.org/<package>

Maybe 'cab' on Hackage is the right thing to try.

--
Yucheng Zhang



More information about the Beginners mailing list