<div dir="ltr">There is no uninstall command, there was at one point but it didn't do anything ;-)<div><br></div><div>Unregistering a package does not delete any files, but it will make cabal forget about its existence.</div><div>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`.</div><div><br></div><div>There are also tools on hackage that can clean up files when unregistering, iirc cab[1] can.</div><div><br></div><div>HTH,</div><div>Adam</div><div><br></div><div>[1] <a href="http://hackage.haskell.org/package/cab">http://hackage.haskell.org/package/cab</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 1, 2015 at 2:52 PM, Peder Jakobsen <span dir="ltr"><<a href="mailto:pjakobsen@gmail.com" target="_blank">pjakobsen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><font size="3">Hi, just browsed through the user guide on managing packages at at <a href="https://www.haskell.org/cabal/users-guide/installing-packages.html" target="_blank">https://www.haskell.org/cabal/users-guide/installing-packages.html</a></font><div><font size="3"><br></font></div><div><font size="3"><b>Managing</b> seems to imply that you should also be able to uninstall packages with a simple command. </font><span style="font-size:medium">But there seem to be no instructions for how to do this for an installed packaged. What am I missing? Is it called “deregistering”?</span></div><div><span style="font-size:medium"><br></span></div><div><span style="font-size:medium">Thanks again, </span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-size:medium"><br></span></div><div><font size="3">P.</font></div></font></span></div><br>_______________________________________________<br>
cabal-devel mailing list<br>
<a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a><br>
<br></blockquote></div><br></div>