User Tools

Site Tools


info:mac:macports
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
info:mac:macports [2015-11-25 08:50]
andunix
info:mac:macports [2015-11-25 08:59] (current)
andunix
Line 1: Line 1:
 ====== MacPorts ====== ====== MacPorts ======
  
-===== List Packages =====+===== List Ports =====
  
 list requested ports: list requested ports:
Line 11: Line 11:
 <code bash> <code bash>
 port -qv installed port -qv installed
 +</code>
 +
 +===== Housekeeping =====
 +
 +When ports are updated, the old port is only deactivated, not uninstalled:
 +<code>
 +...
 +autoconf                       @2.69_2 
 +autoconf                       @2.69_3 
 +autoconf                       @2.69_5 
 +...
 +</code>
 +
 +You can see a list of all installed ports:
 +<code bash>
 +port echo installed
 +</code>
 +
 +After you run MacPorts for a while, you will see a lot of duplicate ports.
 +You can clean these:
 +<code bash>
 +sudo port uninstall inactive
 </code> </code>
  
 {{tag>admin cli mac osx sysadmin}} {{tag>admin cli mac osx sysadmin}}
info/mac/macports.1448441419.txt.gz · Last modified: 2015-11-25 08:50 by andunix