Running the 32-bit version of Firefox on RHEL when both 32-bit and 64-bit versions are installed

If you are running a 64-bit version of RHEL and have both the 32-bit and 64-bit versions of Firefox installed, the 64-bit version will run by default. This is a quick and easy way to call the 32-bit version.

Why might you want to use the 32-bit version over the 64-bit version? 32-bit plugins won’t run on 64-bit Firefox, or vice versa. If you have to run a 32-bit plugin, you must use 32-bit Firefox.

This was tested with Firefox 3.0.9 on RHEL 5.3 x86-64.

# cp /usr/bin/firefox /usr/bin/firefox-32
# sed -i "s/lib64/lib/g" /usr/bin/firefox-32

After this is done, running firefox will start the 64-bit version and running firefox-32 will start the 32-bit version.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: