Remove a Port and All Dependencies

Robert Huff roberthuff at
Fri Feb 24 10:44:01 PST 2006

Jeff Cross writes:

>  I would like to know if it is possible to remove a port/package
>  and all of the dependencies it installed that are not needed by
>  other applications.

	I don't know of a way to do it automatically; among other
things, there seems to be way too great a chance of removing
something prematurely.
	However, I have done this manually by repeated application of
pkg_cutleaves (sysutils/pkg_cutleaves) + pkg_delete.

		Robert "back to the libtool upgrade" Huff


More information about the freebsd-questions mailing list