Uninstalling a port

Joshua Root jmr at macports.org
Fri Mar 4 21:21:41 PST 2011

On 28164-7-23 05:59 , Barrie Stott wrote:
> I have dokuwiki installed and want to uninstall it together with all the other ports on which it depends that are not being used elsewhere.
> Will the single command 'sudo port uninstall --follow-dependents dokuwiki' do it? I looked in the port manpage and it seemed to be a bit ambiguous when it said: 'To recursively uninstall all dependents of this port, use --follow-dependents'. I don't want to uninstall anything that's used elsewhere and, while I doubt that this will happen, it seems wise to check beforehand.

You want --follow-dependencies, which goes the other way. This will not
uninstall anything that is marked as requested or has other dependents.

- Josh

More information about the macports-users mailing list