This is a procedure suggested by Mark Lentczner on the haskell-platform mailing list. It clears out _any_ and _all_ versions of haskell platform, so use with care.
/Anders Begin forwarded message: > These installers don't attempt to uninstall prior versions, and depending on > how your prior versions were installed, they may, or may not, happily co-exist > with this installation. I'm interested to hear experience reports of trying > these installers both systems both with and without prior Haskell setups. > > You can probably erase most (all?) traces of a prior Haskell install with this > procedure: > sudo rm -rf /Library/Frameworks/GHC.framework > sudo rm -rf /Library/Frameworks/HaskellPlatform.framework > sudo rm -rf /Library/Haskell > rm -rf .cabal > rm -rf .ghc > rm -rf ~/Library/Haskell > find /usr/bin /usr/local/bin -type l | \ > xargs -If sh -c '/bin/echo -n f /; readlink f' | \ > egrep '//Library/(Haskell|Frameworks/(GHC|HaskellPlatform).framework)' | \ > cut -f 1 -d ' ' > /tmp/hs-bin-links > # review /tmp/hs-links > sudo rm `cat /tmp/hs-bin-links` On Mar 14, 2011, at 3:48 PM, Jesse Schalken wrote: > This leaves the symlinks "alex", "cabal", "cabal.real", "cabal.wrap" and > "happy" in "/usr/bin", and also leaves > "/Library/Frameworks/HaskellPlatform.framework", and while I can remove those > myself how can I be certain there isn't something else left behind? > > On Tue, Mar 15, 2011 at 1:31 AM, Anders Persson <anders.cj.pers...@gmail.com> > wrote: > This is what I do. > > At a terminal prompt: > > sudo /Library/Frameworks/GHC.framework/Versions/Current/Tools/Uninstaller > > sudo rm -r /Library/Haskell > > Cheers, > Anders > > On Mar 14, 2011, at 3:22 PM, Jesse Schalken wrote: > >> Simple question which an hour of googling and a question on #haskell >> couldn't satisfy. :( >> >> I have installed the Haskell Platform 2011.2.0.0 on Mac OS X 10.6.6. >> >> Now how do I uninstall it? >> >> Thanks, >> Jesse >> _______________________________________________ >> Haskell-Cafe mailing list >> Haskell-Cafe@haskell.org >> http://www.haskell.org/mailman/listinfo/haskell-cafe > >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe