Changes between Version 90 and Version 91 of FAQ


Ignore:
Timestamp:
Dec 30, 2009, 7:38:57 AM (14 years ago)
Author:
jmroot (Joshua Root)
Comment:

Link to the Guide's uninstall section rather than duplicate content

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v90 v91  
    5454=== How do I remove or uninstall MacPorts? === #uninstall
    5555
    56 Uninstalling MacPorts can be a drastic step, and depending on the issue you're experiencing, you may not need to do so. If you're unsure, ask on the macports-users mailing list first.
    57 
    58 If you need to uninstall MacPorts, and your port command is functioning, have it uninstall all the installed ports by typing this in the Terminal:
    59 
    60 {{{
    61 sudo port -f uninstall installed
    62 }}}
    63 
    64 All that will be left in your installation prefix now will be files that were not registered to any port. This includes any configuration files you edited, any databases you created, any files which MacPorts renamed in order to allow a forced installation or upgrade, and the base MacPorts software itself. You may wish to save your configuration files (most are in /opt/local/etc), databases, or any other unique data.
    65 
    66 To remove all traces of MacPorts, type this in the Terminal:
    67 
    68 {{{
    69 sudo rm -rf /opt/local \
    70 /Applications/MacPorts \
    71 /Applications/DarwinPorts \
    72 /Library/Tcl/macports1.0 \
    73 /Library/Tcl/darwinports1.0 \
    74 /Library/LaunchDaemons/org.macports.* \
    75 /Library/StartupItems/DarwinPortsStartup \
    76 /Library/Receipts/MacPorts*.pkg \
    77 /Library/Receipts/DarwinPorts*.pkg \
    78 ~/.macports
    79 }}}
    80 
    81 Substitute your own MacPorts prefix for /opt/local, if you've installed MacPorts in a different place.
    82 
    83 If you use a shell other than bash (perhaps tcsh), you may need to adjust the above to fit your shell's syntax.
    84 
    85 Note that depending on which version of MacPorts you have and which ports you've installed, not all of the above paths will exist on your system. This is ok.
     56See [http://guide.macports.org/chunked/installing.macports.uninstalling.html the Guide].
    8657
    8758=== What are the folders in `${prefix}/var/macports/ for and why do they take up so much space? === #diskspace