github twitter email rss
MacPorts
0001 Jun 1
One minute read

MacPorts

http://trac.macports.org/wiki/FAQ#ownlibs
https://www.macports.org/install.php#requirements
http://guide.macports.org/chunked/installing.shell.html

MacPorts executable commands in /opt/local/bin
most MacPorts files are installed in /opt/local/var/macports

working dir /opt/local/var/macports/..
sources /opt/local/etc/macports/sources.conf

Installing

https://trac.macports.org/wiki/InstallingMacPorts
http://www.macports.org/install.php

uninstalling

http://guide.macports.org/chunked/installing.macports.uninstalling.html

%% sudo port -fp uninstall installed
sudo rm -rf /opt/local
sudo rm -rf /Applications/DarwinPorts
sudo rm -rf /Applications/MacPorts
sudo rm -rf /Library/LaunchDaemons/org.macports.*
sudo rm -rf /Library/Receipts/DarwinPorts*.pkg
sudo rm -rf /Library/Receipts/MacPorts*.pkg
sudo rm -rf /Library/StartupItems/DarwinPortsStartup
sudo rm -rf /Library/Tcl/darwinports1.0
sudo rm -rf /Library/Tcl/macports1.0
sudo rm -rf ~/.macports

Commands

port selfupdate
sudo port selfupdate
port search
sudo port install
man port

port installed


Back to posts


comments powered by Disqus