Installing and Configuring 32-bit Firefox on 64-bit Linux (Fedora)

On a x86-64 64 bit Linux system, sometimes we may want to use the 32 bit Firefox, although the support to 64 bit Firefox is getting much better. Just for needed ones, this post introduces how to install 32 bit Firefox on 64 bit Linux (Fedora as the example).

Install 32-bit firefox

First, install firfox.i686 package.

# linux32
# yum install firefox.i686

Firefox can simply run now. But we still need to fix some issues.

When run firefox, we may get these warnings:

(firefox:4860): Gtk-WARNING **: Unable to locate theme engine in module_path: “clearlooks”,
Gtk-Message: Failed to load module “pk-gtk-module”: libpk-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module “canberra-gtk-module”: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

To fix these warnings, install needed packages:

# yum install libcanberra-gtk2.i686 
 gtk2-engines.i686 
 PackageKit-gtk-module.i686

However, there is no input method. To enable ibus-gtk2 input method in 32bit Firefox, install the ibus-gtk2 package

# yum install ibus-gtk2.i686

Install the flash-plugin

Enable rpmfusion repository: Enable RPM Fusion repositories

Install flash plugin

# yum install flash-plugin.i386

Set up flash plugin

# /usr/lib/flash-plugin/setup

There is no sound in flash. For sound support and curl support, install

# yum install alsa-plugins-pulseaudio.i686 curl.i686

You should have sound. flash-plugin works.

Firefox should complain nothing and work well now. Enjoy it.

Additional gift:

Force to run firefox in 32-bit mode:

#!/bin/bash

setarch i686 firefox -new-tab $*

About Eric Zhiqiang Ma

Eric Zhiqiang Ma is a PhD candidate at Dep. of CSE, HKUST. He is interested in system software for cloud computing, virtualization of large-scale distributed systems and etc. Also find Eric on Facebook, Twitter, LinkedIn and Google+. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties. More Posts - Website

0 thoughts on “Installing and Configuring 32-bit Firefox on 64-bit Linux (Fedora)”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Click to subscribe to Fclose.com Posts by Email if you have not.