<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Wonderful.  Thanks Adam for the quick reply, much appreciated.  :)<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 1, 2015, at 9:47 AM, Adam Bergmark <<a href="mailto:adam@bergmark.nl" class="">adam@bergmark.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">There is no uninstall command, there was at one point but it didn't do anything ;-)<div class=""><br class=""></div><div class="">Unregistering a package does not delete any files, but it will make cabal forget about its existence.</div><div class="">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 class=""><br class=""></div><div class="">There are also tools on hackage that can clean up files when unregistering, iirc cab[1] can.</div><div class=""><br class=""></div><div class="">HTH,</div><div class="">Adam</div><div class=""><br class=""></div><div class="">[1] <a href="http://hackage.haskell.org/package/cab" class="">http://hackage.haskell.org/package/cab</a></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Aug 1, 2015 at 2:52 PM, Peder Jakobsen <span dir="ltr" class=""><<a href="mailto:pjakobsen@gmail.com" target="_blank" class="">pjakobsen@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><font size="3" class="">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" class="">https://www.haskell.org/cabal/users-guide/installing-packages.html</a></font><div class=""><font size="3" class=""><br class=""></font></div><div class=""><font size="3" class=""><b class="">Managing</b> seems to imply that you should also be able to uninstall packages with a simple command.  </font><span style="font-size: inherit;" class="">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 class=""><span style="font-size: inherit;" class=""><br class=""></span></div><div class=""><span style="font-size: inherit;" class="">Thanks again, </span></div><span class="HOEnZb"><font color="#888888" class=""><div class=""><span style="font-size: inherit;" class=""><br class=""></span></div><div class=""><font size="3" class="">P.</font></div></font></span></div><br class="">_______________________________________________<br class="">
cabal-devel mailing list<br class="">
<a href="mailto:cabal-devel@haskell.org" class="">cabal-devel@haskell.org</a><br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel" rel="noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>