This shows you the differences between two versions of the page.
| 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 | ||
| + | </ | ||
| + | |||
| + | ===== Housekeeping ===== | ||
| + | |||
| + | When ports are updated, the old port is only deactivated, | ||
| + | < | ||
| + | ... | ||
| + | autoconf | ||
| + | autoconf | ||
| + | autoconf | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | You can see a list of all installed ports: | ||
| + | <code bash> | ||
| + | port echo installed | ||
| + | </ | ||
| + | |||
| + | 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 | ||
| </ | </ | ||
| {{tag> | {{tag> | ||