Uninstall mono framework on Mac OSX 10.7.3
I know this has been answered before, but I have no programming experience and there are a few of the steps that I don't understand.  I ran the script from mono's site:

    #!/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
But I noticed that at a few points it said that access was denied.  I assume this has something to do with the need to log in to "root"?  Basically, I think there was something I was supposed to do before I ran the script.  Can someone please point me in the right direction?  Thanks.
Brian
Uninstall mono framework on Mac OSX 10.7.3
===

I know this has been answered before, but I have no programming experience and there are a few of the steps that I don't understand.  I ran the script from mono's site:

    #!/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
But I noticed that at a few points it said that access was denied.  I assume this has something to do with the need to log in to "root"?  Basically, I think there was something I was supposed to do before I ran the script.  Can someone please point me in the right direction?  Thanks.
Brian