Ubuntu – How to use apt-get to download multi-arch library

aptcross-compilation

Is it possible to force apt-get to download a multi-architecture binary of the library I want to install?

Or is apt-get not the right tool for this?

Best Answer

First to enable multi-arch

dpkg --add-architecture <arch>

Now setup apt-sources to add the new repositories of the new architecture(if you need)

now update your sources.list

sudo apt-get update

Now you can install multi-arch packages via apt-get regularly but you have to specify which architecture you want to download

apt-get install package:architecture

example:

apt-get install gedit:i386
Related Question