Macports
From wikinotes
Macports is a community driven package manager for MacOS.
Unlike brew, macports manages an entirely separate copy of executables/libraries - less problematic with system updates.
See Also brew.
Documentation
install docs https://www.macports.org/install.php uninstall docs https://guide.macports.org/chunked/installing.macports.uninstalling.html
Locations
/opt/local/var/macports/software
installed software /opt/local/etc/macports/macports.conf
config NOTE:
I'm not sure if macports works like freebsd ports, you might only download makefiles upon user request..
Install
https://www.macports.org/install.php
- Install xcode from the app store
- Install macports version appropriate to your OSX version
Usage
# help man port # Docs port installed # list installed packages# updating sudo port -v selfupdate # update index sudo port upgrade outdated # update all outdated software port outdated port upgrade <package># installing sudo port search # Search for a package sudo port clean <package> # Make Clean sudo port install <package> sudo port -fp uninstall <package># cleanup port installed inactive # show stray dependencies port uninstall inactive # delete stray dependencies# uninstall sudo port -fp uninstall installed # uninstall everything