Created
October 12, 2019 11:54
-
-
Save sengkyaut/f76bb43e5ad4a1b37d9900b528f901d5 to your computer and use it in GitHub Desktop.
add 32 bit architecture in 64 bit Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Commands | |
------------------------------------------ | |
dpkg --print-architecture | |
sudo dpkg --add-architecture i386 && sudo apt update | |
apt-get install lib32z1 lib32ncurses5 lib32stdc++6 | |
------------------------------------------ | |
dpkg --add-architecture i386 (enable multi-arch) | |
apt-get update | |
apt-get install libc6:i386 (install base 32bit libraries) | |
------------------------------------------- | |
Lekensteyn's answer conflicted with lots of existing packages for me (on 64-bit oneiric). | |
I instead did this, which pulled in the libc6-dev-i386 package: | |
apt-get install gcc-multilib | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment