Tuesday, November 16, 2010

MacPorts uninstall

Following the steps below:
  1. Uninstall ALL installed packages
    $ sudo port -f uninstall installed
  1. Remove related directories
    $ sudo rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports
Now, its clear and all installed packages from MacPorts was disappeared.

0 comments: