Reputation: 15355
Is there a way to see all I have installed via MacPorts?
I know I have installed Apache and php 5.3.8, but I'd like to see what else I have installed.
Upvotes: 131
Views: 59997
Reputation: 76
In case you no longer have MacPorts installed (and therefore port installed requested
as suggested by the main answer will not work), you can directly query the MacPorts database, which will remain if you previously uninstalled MacPorts.
ls /opt/local/var/macports/registry/registry.db
sqlite3 /opt/local/var/macports/registry/registry.db "SELECT name, version FROM ports;"
Upvotes: 5