I want to find which ports depends on a given installed port (texlive in my case). I found port deps texlive, but this is working in the "wrong" direction. How can I do it?


2 Answers 2


Use port dependents <portname>. From man port:

Lists the installed ports that depend on the port portname.

There is no way to search for all ports (including those not installed) depending on a certain port.

  • This command seems to ignore build-time reverse dependencies. For example, Mercurial requires py39-setuptools, but only at build-time. Any way to obtain that information? Jul 24, 2021 at 2:21
port echo dependentof:texlive

I believe that this will only show you a list of port installed on your machine that depend on the port.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .