Understaning rleaves, rdepof

Gerben Wierda gerben.wierda at rna.nl
Sun Feb 20 23:04:56 UTC 2022


> On 20 Feb 2022, at 19:01, Joshua Root <jmr at macports.org> wrote:
> 
> Gerben Wierda wrote:
> 
>> So, how would you go about finding the ports on which what is actually installed depends?
>> 
>> E.g.: if I have dovecot+solr8 installed, how would I find out which ports dovecot truly depends on on my system?
> 
> Is there a reason that information is required apart from curiosity? MacPorts won't install anything you didn't ask for unless it's a dependency of something you did ask for, and if you try to uninstall something that is still needed by something else, it will complain.

I’e been hit with MacPorts hosing my setup when cleaning a while back so I’ve become pretty fearful/careful. It’s in the archives of this mailing list.

So, when I want to clear/uninstall something, I want to check if I do not break something and MacPorts turned out to be not perfectly safe on that front.

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
R&A IT Strategy <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>

> 
> 'port deps dovecot and installed' will usually work, though it uses the current Portfile, so if the port is outdated the dependencies could have changed. Use rdeps instead of deps if you want all recursive dependencies, and use the --no-build option with either action to exclude dependencies only needed at build time.
> 
> - Josh
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220221/a0d9d26e/attachment.htm>


More information about the macports-users mailing list