Ask Your Question

How do I install 32bit libraries on a 64 bit Fedora? [closed]

asked 2011-11-19 10:12:48 +0000

leeys.1 gravatar image

updated 2012-02-02 06:55:21 +0000

Is there an ia32-libs equivalent package in Fedora?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, right answer was accepted" by Akshay
close date 2013-11-01 17:42:46.789469


I've marked the correct answer. Please take time out to mark them in the future @leeys.1

FranciscoD_ ( 2012-02-02 06:54:55 +0000 )edit

FranciscoD_: That is not a correct answer for his question. You should unmark it again, thanks.

kparal ( 2012-02-03 12:50:54 +0000 )edit

yes, FranciscoD_ is right. For me, to run Ida Pro's binaries (which is 32-bit) in Fedora 20 (64-bit), I have to install the 32-bit version of the qt libraries (sudo yum install qt.i686 qt-x11.i686). I.e., for each 32-bit product you run, you have to find out which is the missing 32-bit packages to install, not so easy for IDA Pro, as the error is "libgthread.so not found", and "rpm -qf" search for the libgthread.so even tell me no packages are found for the missing files.

Peter Teoh ( 2014-12-04 05:33:03 +0000 )edit

12 Answers

Sort by ยป oldest newest most voted

answered 2012-08-30 04:55:39 +0000

updated 2012-08-30 05:04:59 +0000

This question is very important, it may help anyone looking to install a 32bit program on a 64bit system. So this day, I put my grain of sand.

This should be the equivalent of "ia32-libs"

su -c 'yum -y install --skip-broken glibc.i686 arts.i686 audiofile.i686 bzip2-libs.i686 cairo.i686 cyrus-sasl-lib.i686 dbus-libs.i686 directfb.i686 esound-libs.i686 fltk.i686 freeglut.i686 gtk2.i686 hal-libs.i686 imlib.i686 lcms-libs.i686 lesstif.i686 libacl.i686 libao.i686 libattr.i686 libcap.i686 libdrm.i686 libexif.i686 libgnomecanvas.i686 libICE.i686 libieee1284.i686 libsigc++20.i686 libSM.i686 libtool-ltdl.i686 libusb.i686 libwmf.i686 libwmf-lite.i686 libX11.i686 libXau.i686 libXaw.i686 libXcomposite.i686 libXdamage.i686 libXdmcp.i686 libXext.i686 libXfixes.i686 libxkbfile.i686 libxml2.i686 libXmu.i686 libXp.i686 libXpm.i686 libXScrnSaver.i686 libxslt.i686 libXt.i686 libXtst.i686 libXv.i686 libXxf86vm.i686 lzo.i686 mesa-libGL.i686 mesa-libGLU.i686 nas-libs.i686 nss_ldap.i686 cdk.i686 openldap.i686 pam.i686 popt.i686 pulseaudio-libs.i686 sane-backends-libs-gphoto2.i686 sane-backends-libs.i686 SDL.i686 svgalib.i686 unixODBC.i686 zlib.i686 compat-expat1.i686 compat-libstdc++-33.i686 openal-soft.i686 alsa-oss-libs.i686 redhat-lsb.i686 alsa-plugins-pulseaudio.i686 alsa-plugins-oss.i686 alsa-lib.i686 nspluginwrapper.i686 libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686 pulseaudio-libs.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686'
edit flag offensive delete publish link more


Please, use a vm instead. :)

FranciscoD_ ( 2012-08-30 07:07:05 +0000 )edit

this seems to be out of date as some of those packages can no longer be found

kxra ( 2014-06-25 21:46:32 +0000 )edit

answered 2012-02-01 06:12:26 +0000

two-byte-hero gravatar image

I have been dealing with the same problem while trying to get the Android SDK up and running. After reading around I have figured out that you just need to install the 32-bit version of the library file you need in addition to the 64-bit version. For example this error message was generated by my version of Eclipse:

[2012-01-31 21:56:41 - adb] /home/two_byte/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[2012-01-31 21:56:41 - adb] 'adb version' failed!
/home/two_byte/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[2012-01-31 21:56:41 - adb] Failed to parse the output of 'adb version'

After I went into GPK (Gnome 3's package manager) and installed the 32-bit version of the libstdc++ file the error disappeared. Just figure out which library you need and install the 32-bit version and your issue should be resolved.

edit flag offensive delete publish link more

answered 2011-11-19 10:31:14 +0000

asto gravatar image

updated 2013-01-12 03:41:49 +0000

Jomoos gravatar image

You don't need it. To install 32-bit packagename on fedora,

sudo yum install packagename.i386

Edit: If you need to install a 32 bit package, you can do it as above. If you need 32 bit dependencies installed, yum will do it for you. Are you compiling your 32 bit app from source. If so, which one?

edit flag offensive delete publish link more


ia32-libs is a metapackage in Debian that provides a collection of most commonly used 32bit libraries. It is very useful e.g. for running 32bit games. It is much harder to install individual packages one by one. Unfortunately I don't know about any Fedora equivalent of this package.

kparal ( 2012-01-15 19:28:45 +0000 )edit

In fedora, you can install dev tools easily using yum: yum install @development-tools. This installs the tools for your architecture. There isn't an alias for i386. It is preferred to stick to x8664 and not install i386 packages on a x8664 system unless necessary.

FranciscoD_ ( 2012-02-02 06:54:12 +0000 )edit

FranciscoD_: I am afraid you don't understand the question at all. I tried to explain it in my previous comment. This is not about development tools. This is about installing compatibility i386 libraries in a one simple command. And again, I don't think Fedora has anything like it, unlike Debian.

kparal ( 2012-02-03 12:52:50 +0000 )edit

Fedora doesn't. I don't understand the "compatibility i386 libraries" part. If you need a 32bit package, you install it. Why would anyone want to install a set of 32bit libraries on a 64bit system? I've answered the question again. Hope that one is correct.

FranciscoD_ ( 2012-02-03 13:01:47 +0000 )edit

As I said, because it is useful when e.g. playing third-party games. Those games are not packaged, they have their own installer. And they are often 32-bit only. It's not about compiling. On Debian you just do 'apt-get install ia32-libs' and you're good in 90% of cases. It's much harder on Fedora.

kparal ( 2012-02-03 16:43:23 +0000 )edit

answered 2012-05-12 22:10:02 +0000

kedzie gravatar image

updated 2012-05-12 22:16:55 +0000

Android SDK is downloadable from google and it is only 32-bit. It requires libstdc++.i686 package to be installed with yum. On Fedora 17 I had a problem because the x86_64 package was a newer version than the only available i686 package. the solution was:

yum shell
downgrade libstdc++
install libstdc++.i686
edit flag offensive delete publish link more

answered 2012-10-05 20:03:31 +0000

roMan gravatar image

updated 2012-10-05 20:49:31 +0000

for using Android SDK on Fedora 16 64bit I had to do this:

compilation of android app requires java build tool "ant":

yum install ant

and some 32-bit libs required due to compilation/java errors:

yum install libstdc++.i686 zlib.i686

for installation of compiled app another 32-bit lib required:

yum install ncurses-libs.i686

android emulator requires a few more 32-bit libs:

yum install SDL.i686 libX11.i686 libXrandr.i686

edit flag offensive delete publish link more

answered 2012-02-03 13:00:31 +0000

No. There isn't. Please look at the other answers. They cover installing required 32bit libraries on a 64bit Fedora install.

edit flag offensive delete publish link more

answered 2012-05-16 19:43:00 +0000

Here's what worked for me, for a C++ command-line program:

sudo yum install glibc.i686 libgcc.i686 libstdc++.i686 glibc-devel.i686
edit flag offensive delete publish link more

answered 2013-04-06 07:22:15 +0000

biggles5107 gravatar image

You may want to update that list. In Fedora 18, hal-libs.i686 and sane-backends-libs-gphoto2.i686 are not available.

edit flag offensive delete publish link more

answered 2013-01-11 22:58:07 +0000

boytek gravatar image

this just worked for me

yum install libacpi.i686 libacpi.x86_64

edit flag offensive delete publish link more

answered 2013-01-22 02:40:23 +0000

mcasperson gravatar image

updated 2013-10-15 20:19:01 +0000

I ran into this issue trying to run http://gpg4usb.cpunk.de/download.html (gpg4usb) on Fedora 18 64 bit. GPG4USB is a handy GPG text editor that is compiled for 32bit distros.

Unfortunately the only way to get the 32 bit libs required to run the app was to keep running it over and over, look for the error messages about missing files, use yum provides to find the i686 package that provided the file, and install it.

For reference, these are the packages I needed to install, but I imagine that you'll have to just run the app and keep installing the packages individually until you satisfy all the dependencies.

sudo yum install -y libXrender.i686 fontconfig.i686 zlib.i686 libXext.i686 libstdc++.i686
edit flag offensive delete publish link more

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question tools



Asked: 2011-11-19 10:12:48 +0000

Seen: 102,224 times

Last updated: Nov 01 '13