Advertisement
evandrix

Haskell Platform - UNINSTALL

Oct 12th, 2011
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. > These installers don't attempt to uninstall prior versions, and depending on
  2. > how your prior versions were installed, they may, or may not, happily co-exist
  3. > with this installation. I'm interested to hear experience reports of trying
  4. > these installers both systems both with and without prior Haskell setups.
  5. >
  6. > You can probably erase most (all?) traces of a prior Haskell install with this
  7. > procedure:
  8. > sudo rm -rf /Library/Frameworks/GHC.framework
  9. > sudo rm -rf /Library/Frameworks/HaskellPlatform.framework
  10. > sudo rm -rf /Library/Haskell
  11. > rm -rf .cabal
  12. > rm -rf .ghc
  13. > rm -rf ~/Library/Haskell
  14. > find /usr/bin /usr/local/bin -type l | \
  15. > xargs -If sh -c '/bin/echo -n f /; readlink f' | \
  16. > egrep '//Library/(Haskell|Frameworks/(GHC|HaskellPlatform).framework)' | \
  17. > cut -f 1 -d ' ' > /tmp/hs-bin-links
  18. > # review /tmp/hs-links
  19. > sudo rm `cat /tmp/hs-bin-links`
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement