Date: Mon, 06 Mar 2023 04:49:27 +1100 From: Ian Smith <smithi@nimnet.asn.au> To: Kyle Evans <kevans@freebsd.org> Cc: Mel Pilgrim <list_freebsd@bluerosetech.com>,questions@freebsd.org Subject: Re: How do I determine the ABI string used by pkg? Message-ID: <FBAFA3A1-9803-485D-9345-E5B113B08A49@nimnet.asn.au> In-Reply-To: <CACNAnaFU1QGUMCvy_8_Z-NdKMBanedmpnrcjvRWC-2F7T7dhSg@mail.gmail.com> References: <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <4DF870F0-89D5-45AA-B66C-93D2D1C0DD5E@nimnet.asn.au> <CACNAnaFU1QGUMCvy_8_Z-NdKMBanedmpnrcjvRWC-2F7T7dhSg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6 March 2023 3:08:08 am AEDT, Kyle Evans <kevans@freebsd=2Eorg> wrote: > On Sat, Mar 4, 2023 at 11:10=E2=80=AFPM Ian Smith <smithi@nimnet=2Easn= =2Eau> > wrote: > > > > On 2 March 2023 6:50:13 pm AEDT, Mel Pilgrim > <list_freebsd@bluerosetech=2Ecom> 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=2E > > > > # 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): >=20 > # pkg config ABI > # pkg config ALTABI Quite so, but it needs 'pkg -N config' if no packages are installed, or it= 'll attempt to bootstrap pkg*=2Epkg, according to pkg(7)=2E cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBAFA3A1-9803-485D-9345-E5B113B08A49>