How to uninstall deps of a failed build

Jeremy Lavergne jeremy at
Wed Jun 20 06:35:39 PDT 2012

> How to uninstall all deps of a failed build.
> I try to install the graphviz and it install a lot of packages. I'd
> like to uninstall all this deps of graphviz.
> How can I do it?

You probably want to remove all "leaves" from the installed ports tree:
port echo leaves
sudo port uninstall leaves

You may repeat that a few times, as each level reveals new leaves.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list