There is no uninstall command, there was at one point but it didn't do
anything ;-)

Unregistering a package does not delete any files, but it will make cabal
forget about its existence.
If you are working in a sandbox you can simply `cabal sandbox delete; cabal
sandbox init` to start from scratch, you can also deregister packages there
with `cabal sandbox hc-pkg unregister`, outside a sandbox it's `ghc-pkg
unregister`.

There are also tools on hackage that can clean up files when unregistering,
iirc cab[1] can.

HTH,
Adam

[1] http://hackage.haskell.org/package/cab


On Sat, Aug 1, 2015 at 2:52 PM, Peder Jakobsen <pjakob...@gmail.com> wrote:

> Hi, just browsed through the user guide on managing packages at at
> https://www.haskell.org/cabal/users-guide/installing-packages.html
>
> *Managing* seems to imply that you should also be able to uninstall
> packages with a simple command.  But there seem to be no instructions for
> how to do this for an installed packaged.  What am I missing?  Is it
> called “deregistering”?
>
> Thanks again,
>
> P.
>
> _______________________________________________
> cabal-devel mailing list
> cabal-devel@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel
>
>
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel

Reply via email to