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).

link|improve this question

feedback

2 Answers

up vote 7 down vote accepted

dpkg-architecture -qDEB_HOST_ARCH

link|improve this answer
feedback

or

dpkg --print-architecture

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.