generate top-level pkg install list?
Steve O'Hara-Smith
steve at sohara.org
Wed Jan 27 21:03:18 UTC 2021
On Wed, 27 Jan 2021 13:49:55 -0700
Gary Aitken <freebsd at dreamchaser.org> wrote:
> I'm having trouble figuring out how to generate a top level list of
> packages to install. In the past, I've worked off a manual list, but as
> I've added a few things over time I'm wondering if it's possible to
> generate such a list from the pkg output.
If you have the aliases in /usr/local/etc/pkg.conf then:
pkg leaf
otherwise either fix that or:
pkg query -e '%#r == 0' '%n-%v'
--
Steve O'Hara-Smith <steve at sohara.org>
More information about the freebsd-questions
mailing list