Multiarch/HOWTO - Debian Wiki
Wiki
FrontPage
RecentChanges
FindPage
HelpContents
Multiarch/HOWTO
Wiki
Comments
Info
Attachments
Multiarch
HOWTO
Translation(s)
Português (Brasil)
Русский
Contents
Basic usage
See currently available architectures
Add another architecture
Install a package for a specific architecture
Remove an architecture
Advanced usage
Highlight a package's Multi-Arch header
Set architecture for specific apt sources
Change the default apt architecture
Install cross-dependencies
Install Android SDK compat libraries
Report multi-arch bugs
This page documents how to use multiarch packages. For other multiarch topics, see
the multiarch category
. For information about running binaries from incompatible architectures, see
QemuUserEmulation
Multiarch lets you install packages from different architectures to the one your system normally uses. For example, you can use it to install an old
i386
package on a modern
x86_64
PC. Note that
library packages
(i.e. packages that install files in
/usr/lib
) are usually designed to let you install versions designed for multiple architectures at once, but
application packages
(i.e. packages that install files in locations like
/usr/bin
) usually do not: you will usually need to uninstall applications designed for one architecture before installing a version designed for another.
Once you have installed a multiarch application, you should be able to run it straight away if it was compiled for a predecessor of your hardware architecture (e.g.
i386
applications installed on an
x86_64
PC using multiarch should run without further configuration). But you will probably need to use
QEMU user emulation
to run binaries for a completely different architecture (e.g.
armhf
applications on
x86_64
). If you want to run binaries for a different operating system (e.g. FreeBSD binaries on Linux), see
QEMU
instead.
Multiarch/HOWTO (
last modified 2025-09-23 19:47:02
Changes made after 24 July 2025 00:00 UTC are available under
Creative Commons Attribution-ShareAlike 4.0 International
unless otherwise noted.
Debian
, Wiki
team
bugs
and
config
MoinMoin
and
Python
, with hosting provided by
Metropolitan Area Network Darmstadt
US