使用Anwar的答案来找到架构。
现在这里是你问题的第二部分的解释。
下面是
uname
的输出:在我的情况下,我安装了32位版本。i386和i686都指的是32位版本。
uname
如果是64位版本,将返回x86_64。
$ uname -a
Linux devav2 3.2.0-30-generic-pae #48-Ubuntu SMP Fri Aug 24 17:14:09 UTC 2012 i686 i686 i386 GNU/Linux
Linux(-s) - 操作系统/内核名称
devav2(-n) - 主机名
3.2.0-30-generic-pae (-r) - 内核版本
48-Ubuntu SMP Fri Aug 24 17:14:09 UTC 2012 (-v) - 带时间和SMP的内核版本,SMP表示对多处理器支持
i686(-m) - 机器硬件名称
i686(-p) - 处理器类型
i386(-i) - 硬件平台
GNU/LINUX(-o) - 操作系统名称
-a, --all print all information, in the following order,
except omit -p and -i if unknown:
-s, --kernel-name print the kernel name
-n, --nodename print the network node hostname
-r, --kernel-release print the kernel release
-v, --kernel-version print the kernel version
-m, --machine print the machine hardware name
-p, --processor print the processor type or "unknown"
-i, --hardware-platform print the hardware platform or "unknown"
-o, --operating-system print the operating system