pkg_add/delete questions

Lowell Gilbert freebsd-questions-local at
Mon Oct 23 15:15:59 UTC 2006

"Mark Jayson Alvarez" <markjayson.alvarez at> writes:

> I have several questions:
> 1. If I install a particular package, its dependencies will be
> installed as well. Now if I remove it later using pkg_delete, only
> that package will be removed and not the dependencies. The reason I
> guess is because some other packages may be dependent on those
> dependencies as well. Is there a way to remove a particular package
> and all of its dependencies (given that no other package is dependent
> on those dependencies)?

Is the pkg_cutleaves port what you're looking for?

> 2. Is it possible to tell pkg_add to just fetch the package and not
> install them? My goal is to use my Internet conn

pkg_add(1) can't do that, but the ports makefiles have enough of the
logic that putting that together should be quite practical.

More information about the freebsd-questions mailing list