Show current machine architecture
dpkg --print-architecture
It's built-in to the currently installeddpkg
package.
Usage
use 'package:architecture', eg.
libc:i386
libc:amd64
只用'package'的话,安装的是current machine architecture
Add architecture
dpkg --add-architecture
apt-get update
dpkg
architectures are stored in file /var/lib/dpkg/arch
Ref
to be continued