Macports: Difference between revisions
From wikinotes
(→Usage) |
|||
Line 59: | Line 59: | ||
<source lang="bash"> | <source lang="bash"> | ||
# cleanup | # cleanup | ||
port installed inactive # | port installed inactive # show stray dependencies | ||
port uninstall inactive # delete stray dependencies | |||
</source> | </source> | ||
</blockquote><!-- usage --> | </blockquote><!-- usage --> |
Revision as of 12:56, 19 July 2021
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
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