52
9
What's the command to find out which Debian package architecture I'm using?
eg, on a 64 bit x86, I'm expecting something like amd64
, i386
on 32 bit x86 and darwin-x86_64
from OSX 10.6 (via Fink).
52
9
What's the command to find out which Debian package architecture I'm using?
eg, on a 64 bit x86, I'm expecting something like amd64
, i386
on 32 bit x86 and darwin-x86_64
from OSX 10.6 (via Fink).
80
or
dpkg --print-architecture
18
dpkg-architecture -qDEB_HOST_ARCH
14
In case you did add some other architecture that you forgot, like i386 to an amd64 system, you can check it by:
dpkg --print-foreign-architectures
2
dpkg-architecture
is in thedpkg-dev
package which isn't installed by default (although it is a dependency ofbuild-essential
). However,dpkg
is by definition guaranteed to be there. – Neil Mayhew – 2013-02-26T18:15:24.237@NeilMayhew good call, switched my accepted answer – therefromhere – 2013-02-26T21:29:52.003