Ask Your Question

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

asked 2011-11-19 04:12:48 -0500

leeys.1 gravatar image

updated 2017-01-13 15:13:14 -0500

mattdm gravatar image

Is there an ia32-libs equivalent package in Fedora?

edit retag flag offensive close merge delete

13 Answers

Sort by » oldest newest most voted

answered 2012-08-29 23:55:39 -0500

davidva gravatar image

updated 2012-08-30 00:04:59 -0500

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 link more


Please, use a vm instead. :)

FranciscoD_ gravatar imageFranciscoD_ ( 2012-08-30 02:07:05 -0500 )edit

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

kxra gravatar imagekxra ( 2014-06-25 16:46:32 -0500 )edit

I’m not able to edit the question directly – but here’s what I got after removing unavailable packages:

tomekwi gravatar imagetomekwi ( 2015-08-13 06:16:26 -0500 )edit

This gist is unusable as it is! Get that one:

aurelien gravatar imageaurelien ( 2016-04-05 04:37:46 -0500 )edit

Work like a charm - even if the list is partially out date.

Adam Łangowicz gravatar imageAdam Łangowicz ( 2018-08-27 02:47:50 -0500 )edit

answered 2011-11-19 04:31:14 -0500

asto gravatar image

updated 2013-01-11 21:41:49 -0500

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 link more


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_ gravatar imageFranciscoD_ ( 2012-02-02 00:54:12 -0500 )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_ gravatar imageFranciscoD_ ( 2012-02-03 07:01:47 -0500 )edit

That's subjective. I find the deplist and go yum install a.i386 b.i386 ..... It isnt difficult. Also doesn't give me extra dev packages that I don't need. Like I said, it's subjective. I don't like useless pacakages lying around on my system :)

FranciscoD_ gravatar imageFranciscoD_ ( 2012-02-03 10:55:19 -0500 )edit

answered 2012-02-01 00:12:26 -0500

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: 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: 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 link more

answered 2012-10-05 15:03:31 -0500

roMan gravatar image

updated 2012-10-05 15:49:31 -0500

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 link more

answered 2012-05-12 17:10:02 -0500

kedzie gravatar image

updated 2012-05-12 17:16:55 -0500

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 link more

answered 2013-11-01 11:59:04 -0500

bobgus gravatar image

If you happen to own a small business, and trying to see what Health insurance is available under the new US Affordable Health Care Act, you are pointed to a form which can only be opened in a recent version of Adobe Reader.

I installed Adobe reader, using Adobe's AdbeRdr9.5.5-1_i486linux_enu(1).bin and it did not work - needed a 32 bit library. Apparently Adobe does not have a 64 bit version of their reader (yet?) for Linux.

I found the link below helpful

There are a number of steps involved - basically it installs the 32 bit version of adobe reader and then a number (58) of additional 32 bit libraries.

Does it work? On a stand-alone PDF file - yes (but evince-previewer works also).

On the government website? I don't know, haven't been able to get back to them.

edit flag offensive delete link more

answered 2013-04-06 02:22:15 -0500

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 link more

answered 2012-02-03 07:00:31 -0500

FranciscoD_ gravatar image

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 link more

answered 2013-01-21 20:40:23 -0500

mcasperson gravatar image

updated 2013-10-15 15:19:01 -0500

I ran into this issue trying to run (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 link more

answered 2012-05-16 14:43:00 -0500

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 link more

Question Tools



Asked: 2011-11-19 04:12:48 -0500

Seen: 177,808 times

Last updated: Nov 01 '13