Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > 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`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement