Uninstall last n of ports/packages

Posted by Radio on Server Fault See other posts from Server Fault or by Radio
Published on 2012-10-20T23:14:34Z Indexed on 2012/10/21 5:09 UTC
Read the original article Hit count: 509

Filed under:
|

While compiling some port, I realized that it depends on 1000+ of other ports and will install forever until I die or my disk is full (my hdd is really small).

I interrupted make install clean.

How do I uninstall and clean those dependencies which have already been built and installed? (there are at least 100+ of them)

pkg_cutleaves wont work in this case, since the main port wasn't registered yet.

Please help.

FreeBSD 9.0-RELEASE amd64

EDIT: Another way to ask this question: How can I see all dependencies for a non-registered port, and all subdependencies for those dependencies, independent with previously installed ports or their [sub]dependencies?

© Server Fault or respective owner

Related posts about freebsd

Related posts about freebsd-ports