[Haskell-beginners] ghc-pkg list was: Re: (no subject)

Christian Maeder Christian.Maeder at dfki.de
Wed Apr 20 09:40:44 CEST 2011


Am 20.04.2011 09:35, schrieb Luca Ciciriello:
> Hi All.
> I'm using GHC with MacOS X 10.6.7 (Xcode4). I've installed GHC 7.0.3 and
> the HackageDB package hsgsom. Then, for my motivation, I've uninstalled GHC.
> To remove GHC I've used the uninstaller tool and I've manually removed
> the folder /Library/Frameworks/GHC.framework. I've also manually removed
> the folder /Users/MyUser/Library/Haskell and the folder /Users/MyUser/.cabal
>
> Now I've installed GHC again, but when I try to install the package
> hsgsom cabal tells to me that the package is already installed and I
> have to use the --reinstall flag. So, where the information of the
> installed packages are stored on my system? How can I remove all Haskell
> dependencies from my system in order to start with a clean installation?

"ghc-pkg list" shows your installed packages and the place where they 
are stored.

C.

>
> Thanks in advance for any answer.
>
> Luca.
>



More information about the Beginners mailing list