Re: How do I determine the ABI string used by pkg?

From: Kyle Evans <kevans_at_freebsd.org>
Date: Sun, 05 Mar 2023 16:08:08 UTC
On Sat, Mar 4, 2023 at 11:10 PM Ian Smith <smithi@nimnet.asn.au> wrote:
>
> On 2 March 2023 6:50:13 pm AEDT, Mel Pilgrim <list_freebsd@bluerosetech.com> wrote:
>  > I need to determine the ABI string pkg uses on a given system, and
>  > need to do so when there are no pkgs installed.
>
>  # pkg -N -vv | grep ABI
>
> gets you ABI and ALTABI; the former is the amd64 form, the latter x86:64
>

Note the more concising spelling of this if you know the names (or
need it for, say, scripting):

# pkg config ABI
# pkg config ALTABI

Thanks,

Kyle Evans