Uninstall Mono from Mac OS X v10.5 Leopard

Mac picture Mac · Sep 16, 2008 · Viewed 27.4k times · Source

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.

The Mono website says to run the following script to uninstall:

#!/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.

Answer

Adrian Petrescu picture Adrian Petrescu · Sep 16, 2008

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.

So, long story short, yes, that script is probably the only thing you need to do.