I installed Haskell Platform 7.10.3 on my mac and when it finished it said that it had detected older versions of GHC and to uninstall them, but how do I do that?
I'm using a macbook air with OS X 10.11.3.
You can uninstall prior platforms by running
uninstall-hs
from the command line.
You'll get an output like:
-- Versions found on this system
7.10.3
-- To remove a version and all earlier: uninstall-hs thru VERSION
-- To remove only a single version: uninstall-hs only VERSION
And you can proceed from there...
For removing a GHC version xyz, one can also use ghcup rm xyz
.
Without version number ghcup rm
lists the installed versions and asks which one to remove.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.