How to uninstall all cabal packages?

Thomas DuBuisson thomas.dubuisson at gmail.com
Sun Dec 3 18:33:33 UTC 2017


Packages registered with ghc are placed in the .ghc directory.  You can
delete the directory entirely or selectively unregister using ghc-pkg.

On Dec 3, 2017 10:31 AM, "Volker Wysk" <post at volker-wysk.de> wrote:

> Hi!
>
> I want to remove eveything which cabal has installed, and begin again with
> a clean installation. How is this accomplished? I've deleted ~/.cabal, but
> it still says that hsshellscript is already installed:
>
> desktop ~ $ cabal install hsshellscript
> Resolving dependencies...
> All the requested packages are already installed:
> hsshellscript-3.4.3
> Use --reinstall if you want to reinstall anyway.
>
> Bye
> V.W.
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20171203/376f87f1/attachment.html>


More information about the Glasgow-haskell-users mailing list