Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2021 21:52:39 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        doug@safeport.com
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: generate top-level pkg install list?
Message-ID:  <e70febe9-7bbe-9eb6-edad-6b3a9cc58140@dreamchaser.org>
In-Reply-To: <14a2618-5268-fa37-8a21-76dcd0a9bab4@fledge.watson.org>
References:  <23d9f371-b023-6647-4a63-b9e4a9e6ca61@dreamchaser.org> <14a2618-5268-fa37-8a21-76dcd0a9bab4@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e70febe9-7bbe-9eb6-edad-6b3a9cc58140>