Also note that depending on which version of Mac Ports you have and which ports you have installed, not all of the above paths will exist on your system. script is run after installation that automatically adds or modifies a shell configuration file in your home directory, ensuring that it defines variables according to the rules described in the following section.Those installing Mac Ports from source code must modify their environment manually using the rules as a guide.Don't worry if you see a message telling you the software cannot be installed because it is not currently available from the Software Update Server.
This includes configuration files, databases, any files which Mac Ports renamed in order to allow a forced installation or upgrade, and the base Mac Ports software itself.
You may wish to save your configuration files (most are in sudo rm -rf \ /opt/local \ /Applications/Darwin Ports \ /Applications/Mac Ports \ /Library/Launch Daemons/org.macports.* \ /Library/Receipts/Darwin Ports*\ /Library/Receipts/Mac Ports*\ /Library/Startup Items/Darwin Ports Startup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports If you use a shell other than bash (perhaps tcsh), you may need to adjust the above to fit your shell's syntax.
There are times when some may want to run Mac Ports from a version newer than the current stable release.
Maybe there's a new feature that you'd like to use, or it fixes an issue you've encountered, or you just like to be on the cutting edge.
But using Mac Ports to manage your open source software provides several other significant advantages.