How do I know why I have a port?

Brandon Allbery allbery.b at
Sat Jul 28 07:17:24 PDT 2012

On Fri, Jul 27, 2012 at 9:42 PM, Jack Repenning <jack at> wrote:

> Sometimes, I notice I have some port installed that I have no conscious
> interest in. I'm sure it's there because it's depended upon by some other
> port that I do care about (or recursively), but is there some way I can
> find out what that would be?

One way to check this *without* seeing what installed it:

    port echo leaves      # or: port installed leaves

will show all ports which were installed as dependencies, but are no longer
needed.  (See also "port setrequested".)

brandon s allbery                                      allbery.b at
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list