How to uninstall all cabal packages?

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.

You'll need to delete your ~/.ghc directory as well.
On Sun, Dec 3, 2017 at 8:24 PM, Volker Wysk
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users

Yes, that's it. Thanks for the fast answer! Am Sonntag, 3. Dezember 2017, 20:32:20 CET schrieb Michael Snoyman:
You'll need to delete your ~/.ghc directory as well.
On Sun, Dec 3, 2017 at 8:24 PM, Volker Wysk
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users

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"
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users

Again, thanks for the fast answer! Volker Am Sonntag, 3. Dezember 2017, 10:33:33 CET schrieb Thomas DuBuisson:
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"
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
participants (3)
-
Michael Snoyman
-
Thomas DuBuisson
-
Volker Wysk