如何卸载旧版本的 GHC?
How do I uninstall older versions of GHC?
我在我的 mac 上安装了 Haskell Platform 7.10.3,当它完成时它说它检测到旧版本的 GHC 并卸载它们,但我该怎么做?
我正在使用 macbook air OS X 10.11.3。
您可以通过 运行
卸载之前的平台
uninstall-hs
来自命令行。
您将得到如下输出:
-- 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
你可以从那里继续...
要删除 GHC 版本 x.y.z,也可以使用 ghcup rm x.y.z
。
没有版本号 ghcup rm
列出已安装的版本并询问要删除哪个版本。
我在我的 mac 上安装了 Haskell Platform 7.10.3,当它完成时它说它检测到旧版本的 GHC 并卸载它们,但我该怎么做?
我正在使用 macbook air OS X 10.11.3。
您可以通过 运行
卸载之前的平台uninstall-hs
来自命令行。
您将得到如下输出:
-- 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
你可以从那里继续...
要删除 GHC 版本 x.y.z,也可以使用 ghcup rm x.y.z
。
没有版本号 ghcup rm
列出已安装的版本并询问要删除哪个版本。