Remove port

Eitan Adler lists at
Sat Jan 9 09:38:54 PST 2016

On 9 January 2016 at 03:51, Ryan Schmidt <ryandesign at> wrote:
> On Jan 8, 2016, at 11:35 PM, Eitan Adler wrote:
>> On 5 January 2016 at 11:05, Ryan Schmidt wrote:
>>> If you're interested in removing those dependencies that are no longer needed, examine the list of ports produced by:
>>> port installed leaves
>>> and, if you like, uninstall them with:
>>> sudo port uninstall leaves
>> wouldn't
>> port uninstall leaves and unrequested
>> be slightly better here since some leaf ports are actually wanted?
> According to port(1) leaves are "installed ports that are unrequested and have no dependents". So if you requested a port, it is by definition not a leaf.

Ah - I didn't realize that.  a bit of a thread hijack but how would
one list ports that have zero dependents (requested or not)?

Eitan Adler

More information about the macports-users mailing list