Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Per the LTS Enablement Stack wiki, "to install the newer HWE kernel derived from 15.10 (Wily)" there is a different set of packages to install depending on whether a system is multiarch or not.

How do I tell if my system is multiarch or not?

The wiki is "hinty", saying "you may find you need" to do this.

share|improve this question
Usually means you run a 64bit OS, but also use packages that are 32bit. Run uname -m to check what kind of OS you have. x86_64 - 64bit, and i686 - 32bit. Here's more info on multiarch – mikewhatever Feb 19 at 13:30
Thanks! I'm confident that I have 64 bit Trusty installed. It's the part about using 32 bit packages that I need to check on, but don't know how to. – Organic Marble Feb 19 at 13:34
There will be nothing bad if you use the command for multiarch. – Pilot6 Feb 19 at 13:34
If you don't know whether or not you need 32bit packages, chances you great that you don't. – mikewhatever Feb 19 at 13:37
I'm not willing to break my system or install un-needed packages by taking these "chances", hence my question. – Organic Marble Feb 19 at 13:42
up vote 17 down vote accepted

dpkg supports installing packages for other non-native architectures using a system called multiarch. It was introduced in Ubuntu 11.04, so any later release should have it.

You can use dpkg --print-foreign-architectures command to find the added foreign architectures on multiarch e.g.:

% dpkg --print-foreign-architectures

To find the native architecture, use dpkg --print-architecture e.g.:

% dpkg --print-architecture          

Alternately, you can also read the file /var/lib/dpkg/arch to get a list of added architectures (first one is native, although you can remove it):

% cat /var/lib/dpkg/arch             
share|improve this answer
Thanks! Exactly what I needed, and shows that I do need the "multiarch" packages. Much appreciated. – Organic Marble Feb 19 at 13:44
the file /var/lib/dpkg/arch may only exist is at least one foreign architecture is installed – cmks Mar 16 at 16:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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