Uninstalling Mono Framework.
Hello.
I installed Mono's Framework a while ago and now I'd like to uninstall it, but I have no idea how. I've been struggling for a while but I can't seem to get it. I already took the script in their webpage and tried it on terminal.
#!/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
After I did this, I get this.
Armandos-MacBook-Pro:~ Armando$ #!/bin/sh -x
Armandos-MacBook-Pro:~ Armando$
Armandos-MacBook-Pro:~ Armando$ #This script removes Mono from an OS X System. It must be run as root
Armandos-MacBook-Pro:~ Armando$
Armandos-MacBook-Pro:~ Armando$ rm -r /Library/Frameworks/Mono.framework
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.9/bin/al?
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);
doneoverride rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/al2? override rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/asp-state? override rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/asp-state2? override rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/asp-state4? override rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/booc? override rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/booi? override rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/booish? override rwxr-xr-x root/admin for /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/cairo-trace?
I've also created a .sh with the script. I named it uninstallmono.sh and saved it to my desktop.
When I go to terminal and try to do:
sudo ./uninstallmono.sh
I get:
Armandos-MacBook-Pro:~ Armando$ sudo ./uninstallmono.sh
Password:
sudo: ./uninstallmono.sh: command not found
Armandos-MacBook-Pro:~ Armando$
I have a password and when I type it in nothing happens. I'm not sure if it's supposed to be that way or not but the cursor on terminal wont move.
Anyways, I need help, having it installed is really bothering me. :s
MacBook Pro, Mac OS X (10.7.3), Mono Framework.