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.
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 x.y.z, one can also use ghcup rm x.y.z
.
Without version number ghcup rm
lists the installed versions and asks which one to remove.
© 2022 - 2024 — McMap. All rights reserved.