generate top-level pkg install list?

Kevin Oberman rkoberman at gmail.com
Thu Jan 28 07:47:10 UTC 2021


On Wed, Jan 27, 2021 at 8:57 PM Gary Aitken <freebsd at dreamchaser.org> wrote:

> On 1/27/21 3:43 PM, doug wrote:
> > On Wed, 27 Jan 2021, Gary Aitken 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.
> ...
> >> Any ideas for how to generate a list of packages installed deliberately
> and
> >> in sequence?
>
> > pkg prime-origins. It's in alphabetic order. Date can come from:
> >
> >    pkg info <name> | egrep "Name|Installed"
>
> Thanks.  I had the pkg info part, it was the pkg query part I needed.
> I see prime-origins is an alias; it doesn't show up in pkg help unless
> you already know about it.
>
> Gary


Seems like a note in pkg-message for the pkg port about the alias file
would be a good idea. I just stumbled onto it last week, myself.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-questions mailing list