I installed Mono on my iMac last night and I immidiately had a change of heart! I don't think Mono is ready for prime time.
昨晚我在我的iMac上安装了Mono,我的心变了!我不认为Mono已经准备好了。
The Mono website says to run the following script to uninstall:
Mono网站说,运行以下脚本卸载:
#!/bin/sh -x
#This script removes Mono from an OS X System. It must be run as root
rm -r /Library/Frameworks/Mono.framework
rm -r /Library/Receipts/MonoFramework-SVN.pkg
cd /usr/bin
for i in `ls -al | grep Mono | awk '{print $9}'`; do
rm ${i}
done
Has anyone had to uninstall Mono? Was it as straight forward as running the above script or do I have to do more? How messy was it? Any pointers are appreciated.
有人要卸载Mono吗?它是像运行上面的脚本一样直接,还是我需要做更多?有多乱?任何指针都欣赏。
7 个解决方案
#1
10
The above script simply deletes everything related to Mono on your system -- and since the developers wrote it, I'm sure they didn't miss anything :) Unlike some other operating systems made by software companies that rhyme with "Macrosoft", uninstalling software in OS X is as simple as deleting the files, 99% of the time.. no registry or anything like that.
上面的脚本简单地删除所有相关Mono在您的系统上,因为开发人员写的,我相信他们没有错过什么:)与其他操作系统由软件公司,与“Macrosoft”押韵,卸载软件在OS X是一样简单的删除文件,99%的时间. .没有注册表之类的。
So, long story short, yes, that script is probably the only thing you need to do.
所以,长话短说,是的,那个脚本可能是你唯一需要做的事情。
#2
7
Seems the uninstall script has been slightly modified as today (2011-07-12):
看起来uninstall脚本已经被稍微修改了(2011-07-12):
#!/bin/sh -x
#This script removes Mono from an OS X System. It must be run as root
rm -r /Library/Frameworks/Mono.framework
rm -r /Library/Receipts/MonoFramework-*
for dir in /usr/bin /usr/share/man/man1 /usr/share/man/man3 /usr/share/man/man5; do
(cd ${dir};
for i in `ls -al | grep /Library/Frameworks/Mono.framework/ | awk '{print $9}'`; do
rm ${i}
done);
done
You can find the current version here.
你可以在这里找到当前的版本。
By the way: it's the same exact thing that runs the uninstaller mentioned by joev (although as jochem noted it is not located in the /Library/Receipts
, it must be found in the installation package=.
顺便说一下,这和joev提到的卸载程序是一样的(尽管jochem指出它不在/Library/收据中,它必须在安装包=中找到)。
#3
4
Year 2017 answer for those, like myself, looking at SE first and official docs later (FYI I know the question was for OS Leopard). Run these commands in the terminal:
2017年的答案,就像我自己一样,先看一下SE和官方的文档(我知道这个问题是关于OS Leopard的)。在终端运行这些命令:
sudo rm -rf /Library/Frameworks/Mono.framework
sudo pkgutil --forget com.xamarin.mono-MDK.pkg
sudo rm -rf /etc/paths.d/mono-commands
#4
2
To expand on feelingsofwhite.com's answer, the Mono installer for Mac OS puts the uninstall script in the /Library/Receipts directory, not in the installer image as it says in the Notes.rtf file. The Receipts directory is what the Mac OS Installer.app uses to keep track of which packages were responsible for installing which files. Usually, a list of these is kept in a .bom ("Bill of Materials") file, which can be explored with the lsbom command.
为了扩展感觉sofwhite.com的答案,Mac OS的Mono安装程序将卸载脚本放在/Library/收据目录中,而不是在安装程序映像中。rtf文件。收据目录是Mac OS安装程序。应用程序用来跟踪哪些包负责安装哪些文件。通常,这些文件的列表保存在.bom(“材料清单”)文件中,可以使用lsbom命令进行探索。
In the case of Mono, they also add a whole bunch of links from your /usr/bin and man directories. Their uninstall scripts finds these and removes them. Since the uninstall script lives in a place the uninstaller deletes, you should probably copy the uninstall script somewhere else before running it:
在Mono的情况下,他们还从您的/usr/bin和man目录中添加了一大堆链接。他们的卸载脚本找到这些并删除它们。由于卸载脚本生活在卸载程序删除的地方,所以您应该在运行它之前将卸载脚本复制到其他地方:
cd
cp /Library/Receipts/MonoFramework-2.4_7.macos10.novell.universal.pkg/Contents/Resources/uninstallMono.sh .
sudo ./uninstallMono.sh
rm uninstallMono.sh
#5
0
http://dragthor.wordpress.com/2007/07/24/uninstall-mono-on-mac-os-x/ Work for me, OSX, But I Use the uninstall script file (.sh) from the Mono Installer Package.
我的OSX,但是我使用uninstall脚本文件(.sh)从Mono安装程序包中。
#6
-1
I just deleted the mono.frameworks folder. I got tired of answering "yes" billions of times...
我刚刚删除了mono.framework文件夹。我厌倦了无数次的回答“是”。
#7
-1
Mono doesn't contain a lot of fluff, so just running those commands will be fine. It's as simple as deleting all the data folders, and the binaries.
Mono不包含大量的fluff,所以运行这些命令就可以了。它就像删除所有的数据文件夹和二进制文件一样简单。
#1
10
The above script simply deletes everything related to Mono on your system -- and since the developers wrote it, I'm sure they didn't miss anything :) Unlike some other operating systems made by software companies that rhyme with "Macrosoft", uninstalling software in OS X is as simple as deleting the files, 99% of the time.. no registry or anything like that.
上面的脚本简单地删除所有相关Mono在您的系统上,因为开发人员写的,我相信他们没有错过什么:)与其他操作系统由软件公司,与“Macrosoft”押韵,卸载软件在OS X是一样简单的删除文件,99%的时间. .没有注册表之类的。
So, long story short, yes, that script is probably the only thing you need to do.
所以,长话短说,是的,那个脚本可能是你唯一需要做的事情。
#2
7
Seems the uninstall script has been slightly modified as today (2011-07-12):
看起来uninstall脚本已经被稍微修改了(2011-07-12):
#!/bin/sh -x
#This script removes Mono from an OS X System. It must be run as root
rm -r /Library/Frameworks/Mono.framework
rm -r /Library/Receipts/MonoFramework-*
for dir in /usr/bin /usr/share/man/man1 /usr/share/man/man3 /usr/share/man/man5; do
(cd ${dir};
for i in `ls -al | grep /Library/Frameworks/Mono.framework/ | awk '{print $9}'`; do
rm ${i}
done);
done
You can find the current version here.
你可以在这里找到当前的版本。
By the way: it's the same exact thing that runs the uninstaller mentioned by joev (although as jochem noted it is not located in the /Library/Receipts
, it must be found in the installation package=.
顺便说一下,这和joev提到的卸载程序是一样的(尽管jochem指出它不在/Library/收据中,它必须在安装包=中找到)。
#3
4
Year 2017 answer for those, like myself, looking at SE first and official docs later (FYI I know the question was for OS Leopard). Run these commands in the terminal:
2017年的答案,就像我自己一样,先看一下SE和官方的文档(我知道这个问题是关于OS Leopard的)。在终端运行这些命令:
sudo rm -rf /Library/Frameworks/Mono.framework
sudo pkgutil --forget com.xamarin.mono-MDK.pkg
sudo rm -rf /etc/paths.d/mono-commands
#4
2
To expand on feelingsofwhite.com's answer, the Mono installer for Mac OS puts the uninstall script in the /Library/Receipts directory, not in the installer image as it says in the Notes.rtf file. The Receipts directory is what the Mac OS Installer.app uses to keep track of which packages were responsible for installing which files. Usually, a list of these is kept in a .bom ("Bill of Materials") file, which can be explored with the lsbom command.
为了扩展感觉sofwhite.com的答案,Mac OS的Mono安装程序将卸载脚本放在/Library/收据目录中,而不是在安装程序映像中。rtf文件。收据目录是Mac OS安装程序。应用程序用来跟踪哪些包负责安装哪些文件。通常,这些文件的列表保存在.bom(“材料清单”)文件中,可以使用lsbom命令进行探索。
In the case of Mono, they also add a whole bunch of links from your /usr/bin and man directories. Their uninstall scripts finds these and removes them. Since the uninstall script lives in a place the uninstaller deletes, you should probably copy the uninstall script somewhere else before running it:
在Mono的情况下,他们还从您的/usr/bin和man目录中添加了一大堆链接。他们的卸载脚本找到这些并删除它们。由于卸载脚本生活在卸载程序删除的地方,所以您应该在运行它之前将卸载脚本复制到其他地方:
cd
cp /Library/Receipts/MonoFramework-2.4_7.macos10.novell.universal.pkg/Contents/Resources/uninstallMono.sh .
sudo ./uninstallMono.sh
rm uninstallMono.sh
#5
0
http://dragthor.wordpress.com/2007/07/24/uninstall-mono-on-mac-os-x/ Work for me, OSX, But I Use the uninstall script file (.sh) from the Mono Installer Package.
我的OSX,但是我使用uninstall脚本文件(.sh)从Mono安装程序包中。
#6
-1
I just deleted the mono.frameworks folder. I got tired of answering "yes" billions of times...
我刚刚删除了mono.framework文件夹。我厌倦了无数次的回答“是”。
#7
-1
Mono doesn't contain a lot of fluff, so just running those commands will be fine. It's as simple as deleting all the data folders, and the binaries.
Mono不包含大量的fluff,所以运行这些命令就可以了。它就像删除所有的数据文件夹和二进制文件一样简单。