[Haskell-cafe] Removing/Uninstalling cabal packages ?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Dec 22 04:45:34 EST 2008


On Sun, 2008-12-21 at 13:30 -0600, brian wrote:
> On Sun, Dec 21, 2008 at 12:12 PM, Laurent Giroud <ml at niaow.com> wrote:
> > I have been doing a few experiments with cabal packages lately and I wish to
> > uninstall these to return to a cleaner package base. However, there doesn't
> > seem to be a "cabal uninstall" command and reading the documentation at
> > http://www.haskell.org/ghc/docs/latest/html/Cabal/index.html does not tell
> > much about how to do that manually.
> 
> I think you want 'ghc-pkg list' and 'ghc-pkg unregister'.

If you also want to remove the files then that also has to be done
manually at the moment.

If any volunteers would like to help us implement tracking of installed
files that would be most welcome.

Duncan



More information about the Haskell-Cafe mailing list