generate top-level pkg install list?

Gary Aitken freebsd at dreamchaser.org
Thu Jan 28 04:57:29 UTC 2021


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



More information about the freebsd-questions mailing list