How to install ia32-libs in Ubuntu 14.04 LTS (Trusty Tahr)
The best answer I have ever seen is How to run 32-bit applications on Ubuntu 64-bit?
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo ./adb
Install gcc multiple library.
sudo apt-get install gcc-multilib
You can try this to install the 32-bit library (not all in ia32-libs):
sudo apt-get install program:i386
sudo dpkg --add-architecture i386
may be required (if you haven't ever run that).
Or if you want to install the whole ia32-lib instead, try the following order:
sudo -i
cd /etc/apt/sources.list.d
echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
PS: In this way, you can install ia32-libs
. However, we add the source of 13.04 instead, so, there may be some unknown problem. After installing ia32-libs
, I recommend you to remove the ia32-libs-raring.list
in /etc/apt/sources.list.d
, and do sudo apt-get update
.
If you want to fix the dependency of Android SDK, you can try this bellow:
sudo apt-get install -y libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1