如何在MAC OSX 10.7上卸载gfortran编译器 [英] How to uninstall gfortran compiler on MAC OSX 10.7

查看:424
本文介绍了如何在MAC OSX 10.7上卸载gfortran编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在需要gfortran 77时安装了gfortran 90,这会导致在配置mpich时出错,因此我想从计算机上卸载gfortran 90,但是从usr / local / bin中删除gfortran并没有真正的作用。当我执行gfortran -v时,当我想要类似bash:命令的内容时,我得到了一个答案。我该怎么办?

I installed gfortran 90 when I wanted gfortran 77, which is causing errors in configuring mpich, so as such I wanted to uninstall gfortran 90 from my computer, but deleting gfortran from usr/local/bin didn't really do anything. When I do gfortran -v I get an answer, when I want something like bash: command not found. How can I do that?

推荐答案

来自: http://www.webmo.net/support/fortran_osx.html

因此,要卸载该软件包,请运行
$ sudo rm -r / usr / local / gfortran / usr / local / bin / gfortran

编辑:还有其他方法,显然这取决于您安装的软件包。

There also other methods, it apparently depends of the package you've installed to get it.

这篇关于如何在MAC OSX 10.7上卸载gfortran编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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