list port with no dependents (was: Re: Remove port)

Eneko Gotzon enekogotzon at
Sun Jan 10 17:17:09 PST 2016

On Sun, Jan 10, 2016 at 1:52 AM, Ryan Schmidt <ryandesign at>

> Finally, you can uninstall the ports you really don't need by using "sudo
> port uninstall leaves".

Note that the uninstallation can mark new ports as leaves.

To uninstall all leaves, you have to repeat the process until the
port echo leaves
command comes back empty.

To simplify this, consider installing the port_cutleaves port and running
sudo port_cutleaves

More info <>.

Eneko Gotzon Ares
enekogotzon at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list