Date: Sun, 5 Mar 2023 10:08:08 -0600 From: Kyle Evans <kevans@freebsd.org> To: Ian Smith <smithi@nimnet.asn.au> Cc: Mel Pilgrim <list_freebsd@bluerosetech.com>, questions@freebsd.org, ports@freebsd.org Subject: Re: How do I determine the ABI string used by pkg? Message-ID: <CACNAnaFU1QGUMCvy_8_Z-NdKMBanedmpnrcjvRWC-2F7T7dhSg@mail.gmail.com> In-Reply-To: <4DF870F0-89D5-45AA-B66C-93D2D1C0DD5E@nimnet.asn.au> References: <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <4DF870F0-89D5-45AA-B66C-93D2D1C0DD5E@nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 4, 2023 at 11:10=E2=80=AFPM Ian Smith <smithi@nimnet.asn.au> wr= ote: > > On 2 March 2023 6:50:13 pm AEDT, Mel Pilgrim <list_freebsd@bluerosetech.c= om> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaFU1QGUMCvy_8_Z-NdKMBanedmpnrcjvRWC-2F7T7dhSg>