Uninstalling mono on Mac OS X

Discussion in 'Mac Applications and Mac App Store' started by ozaz, Jun 18, 2012.

  1. macrumors 6502a

    Joined:
    Feb 27, 2011
    Location:
    UK
    #1
    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.
     
  2. macrumors newbie

    Joined:
    May 29, 2011
    #2
    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!
     
  3. thread starter macrumors 6502a

    Joined:
    Feb 27, 2011
    Location:
    UK
    #3
    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"
     
  4. macrumors regular

    Joined:
    Aug 5, 2007
    #4
    try
    Code:
    cd ~/Desktop
    sh uimono.sh
    
     
  5. thread starter macrumors 6502a

    Joined:
    Feb 27, 2011
    Location:
    UK
    #5
    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
     
  6. macrumors 6502a

    Joined:
    Oct 20, 2003
    #6
    Hoping someone is still following this.

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

    What am I doing wrong?

    ----------

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

    Joined:
    Sep 7, 2013
    #7
    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.
     

Share This Page