Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ozaz

macrumors 68000
Original poster
Feb 27, 2011
1,575
513
I recently installed mono but now want to uninstall it. To do so requires running a script in terminal available here: http://www.mono-project.com/Mono:OSX#Uninstalling_Mono_on_Mac_OS_X

I copied this into textedit.app and saved as uimono.sh onto my desktop. I don't really know how to use terminal properly. Could someone please advise on what to do next. Would be much appreciated.
 

Roadrun3r

macrumors newbie
May 29, 2011
13
0
Next you want to open up terminal and navigate to the desktop directory. Then, simply type "./uimono.sh" without the quotes and hit return!
Tadaa!
 

ozaz

macrumors 68000
Original poster
Feb 27, 2011
1,575
513
Next you want to open up terminal and navigate to the desktop directory. Then, simply type "./uimono.sh" without the quotes and hit return!
Tadaa!

Thanks. When I said I don't know how to use terminal properly, I wasn't lying!

I assume to navigate to desktop I type "cd desktop". After doing that, I type your command, and I get the following output:

"-bash: ./uimono.sh: Permission denied"
 

ozaz

macrumors 68000
Original poster
Feb 27, 2011
1,575
513
try
Code:
cd ~/Desktop
sh uimono.sh

Thanks. It seems to try to do more, but I still get permission denied messages.

Code:
rm: /Library/Frameworks/Mono.framework/Commands: Permission denied
rm: /Library/Frameworks/Mono.framework/Headers: Permission denied
rm: /Library/Frameworks/Mono.framework/Home: Permission denied
rm: /Library/Frameworks/Mono.framework/Libraries: Permission denied
rm: /Library/Frameworks/Mono.framework/Mono: Permission denied
rm: /Library/Frameworks/Mono.framework/Resources: Permission denied
override rwxr-xr-x  root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.5/bin/al?y       
rm: /Library/Frameworks/Mono.framework/Versions/2.10.5/bin/al: Permission denied

Is it something to do with the need to run the script as root (see link in first post)?

----------

Update: This seems to have worked

Code:
cd desktop
sudo sh uimono.sh
 

badlydrawnboy

macrumors 68000
Oct 20, 2003
1,529
417
Hoping someone is still following this.

I tried what was suggested here and got the following error:

rm: /Library/Receipts/MonoFramework-*: No such file or directory

What am I doing wrong?

----------

Just checked and saw there is no /Monoframework directory in the /Library/Receipts directory. But it IS installed. ??
 

cucchiaio

macrumors newbie
Sep 7, 2013
1
0
You have to run the script as root

Re: the permissions issue, simply run the script as root:

Code:
sudo sh uimono.sh

You might have to manually set the permissions then, by typing "Y" on every prompt.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.