Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 11:15:53 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Mark Jayson Alvarez" <markjayson.alvarez@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_add/delete questions
Message-ID:  <44hcxvukpi.fsf@be-well.ilk.org>
In-Reply-To: <cf5917110610221852h5d52afbducbfcbe88bbf71345@mail.gmail.com> (Mark Jayson Alvarez's message of "Mon, 23 Oct 2006 09:52:31 %2B0800")
References:  <cf5917110610221852h5d52afbducbfcbe88bbf71345@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mark Jayson Alvarez" <markjayson.alvarez@gmail.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44hcxvukpi.fsf>