[Haskell-cafe] Cabal - how do I remove a package?

John Van Enk vanenkj at gmail.com
Tue Oct 6 15:58:24 EDT 2009


you want:

ghc-pkg unregister [package name]

and

ghc-pkg list

/jve

On Tue, Oct 6, 2009 at 3:52 PM, Paul Moore <p.f.moore at gmail.com> wrote:

> As it says in the subject, how do I remove a package that I installed
> (with the --user flag) via cabal?
>
> Come to that, how do I list the packages I've installed via cabal?
> cabal list --installed includes all the GHC standard library (which I
> didn't install) and it doesn't seem to support a --user flag to list
> per-user installed packages.
>
> FWIW, I'm on Windows 7.
>
> Thanks,
> Paul.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091006/e90f94b0/attachment.html


More information about the Haskell-Cafe mailing list