如何卸载旧版本的GHC? [英] How do I uninstall older versions of GHC?

查看:303
本文介绍了如何卸载旧版本的GHC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac上安装了Haskell Platform 7.10.3,安装完成后它说它已经检测到旧版本的GHC并要卸载它们,但是我该怎么做?

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?

我正在将Macbook air与OS X 10.11.3配合使用.

I'm using a macbook air with OS X 10.11.3.

推荐答案

您可以通过运行来卸载以前的平台

You can uninstall prior platforms by running

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

您可以从那里继续...

And you can proceed from there...

这篇关于如何卸载旧版本的GHC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆