Ubuntu packages multi-architectures

Show current machine architecture

dpkg --print-architecture
It's built-in to the currently installed dpkg 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

上一篇:IT兄弟连 HTML5教程 HTML5文字版面和编辑标签 HTML基础标签


下一篇:利用animation和text-shadow纯CSS实现loading点点点的效果