Install 32-Bit Firefox on 64-Bit Linux
In this article
This guide shows you how to install the 32-bit version of Firefox on a 64-bit Linux system. This is useful if you need to run legacy web applications or browser plugins that only work in 32-bit mode. You'll need a 64-bit Linux distribution (like Ubuntu, Debian, Fedora, or openSUSE) with internet access and a user account with sudo privileges.
What You'll Need
- A 64-bit Linux system with a working internet connection.
- A user account with
sudoprivileges (to install dependencies and move files). - Optional:
wgetorcurl(usually pre-installed) to download the Firefox archive. - Optional:
tar(usually pre-installed) to extract the archive.
Step-by-Step
- Check your system architecture. Open a terminal and run
uname -m. If it outputsx86_64, you have a 64-bit system. This is required for the steps below. - Download the 32-bit Firefox tarball. Go to the official Mozilla Firefox directory (
https://download.mozilla.org/?product=firefox-latest-ssl&os=linux&lang=en-US) but replaceos=linuxwithos=linux32in the URL. For example, usingwget:wget "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux32&lang=en-US" -O firefox32.tar.bz2
This downloads the latest 32-bit English version. For other languages, changelang=en-USto your locale (e.g.,lang=de). - Extract the archive. Run
tar -xjf firefox32.tar.bz2in the directory where you downloaded it. This creates a folder namedfirefoxcontaining the 32-bit binaries. - Move the extracted folder to a suitable location. For system-wide installation, use
sudo mv firefox /opt/firefox32. This places the 32-bit Firefox in/opt/firefox32. - Install 32-bit compatibility libraries. On Debian/Ubuntu, run:
sudo apt update && sudo apt install libgtk-3-0:i386 libdbus-glib-1-2:i386 libxt6:i386
On Fedora, run:sudo dnf install glibc.i686 libX11.i686 libXext.i686 libXt.i686 gtk3.i686 dbus-glib.i686
On openSUSE, run:sudo zypper install libgtk-3-0-32bit libdbus-1-3-32bit libxt6-32bit
These libraries are required for the 32-bit Firefox to run on a 64-bit system. - Create a launcher script (optional but recommended). To avoid conflicts with any existing 64-bit Firefox, create a script that runs the 32-bit version. For example, create a file
firefox32in/usr/local/binwith:#!/bin/bash
/opt/firefox32/firefox "$@"
Make it executable:sudo chmod +x /usr/local/bin/firefox32. - Run Firefox 32-bit. Type
firefox32in a terminal or create a desktop shortcut. The 32-bit Firefox will launch. Verify it's 32-bit by going toabout:buildconfigin the address bar; it should showi686orx86_64(the latter would mean you accidentally downloaded the 64-bit version).
Common Mistakes
- Downloading the wrong architecture. The URL must contain
os=linux32. If you useos=linux, you get the 64-bit version. - Forgetting 32-bit libraries. Without them, Firefox will fail to start with errors like "error while loading shared libraries". Install the libraries listed in step 5.
- Overwriting your existing Firefox. If you move the extracted folder to
/usr/lib/firefoxor similar, you might replace your 64-bit installation. Use a separate directory like/opt/firefox32. - Running the binary directly without execution permissions. The downloaded archive usually keeps permissions, but if you get "Permission denied", run
chmod +x /opt/firefox32/firefox.
Tips
- Use a separate profile. To avoid profile conflicts between 32-bit and 64-bit Firefox, launch the 32-bit version with a custom profile:
firefox32 -Pand create a new profile named "32-bit". - Keep it updated. The downloaded version is the latest at the time. To update, repeat steps 2-4 and replace the old folder.
- Test with a simple page. After installation, visit a site like
about:supportto confirm the architecture shows "i686" under "Application Basics". - Consider using a container or VM. If you need 32-bit support for many applications, a 32-bit chroot or a lightweight VM might be more stable than mixing architectures.
Troubleshooting
- Firefox won't start and shows "error while loading shared libraries". This means a required 32-bit library is missing. Run
ldd /opt/firefox32/firefoxto see which libraries are missing, then install the corresponding 32-bit packages. For example, iflibgtk-3.so.0is missing, installlibgtk-3-0:i386on Debian/Ubuntu. - Firefox starts but crashes immediately. This could be due to incompatible graphics drivers. Try launching with software rendering:
LIBGL_ALWAYS_SOFTWARE=1 firefox32. - You see a "profile in use" error. This happens if you have another Firefox instance running with the same profile. Use a separate profile as mentioned in Tips.
- The downloaded file is not a tarball. The URL might have redirected to an HTML page. Check the file type with
file firefox32.tar.bz2. If it's not bzip2 compressed, re-download with the correct URL. - Firefox runs but is very slow. 32-bit applications on 64-bit systems can be slower due to emulation layers. Close other applications and consider increasing system RAM if needed.
Frequently Asked Questions
Can I run both 32-bit and 64-bit Firefox on the same system?
Yes, as long as you use separate installation directories and separate profiles. The launcher script and profile separation ensure they don't interfere.
Will 32-bit Firefox support all modern web standards?
Firefox 32-bit uses the same rendering engine as 64-bit, so it supports modern web standards. However, some performance-intensive sites may run slower.
Is it safe to install 32-bit libraries on a 64-bit system?
Yes, 32-bit libraries are designed to coexist with 64-bit libraries. They are installed in separate directories (like /usr/lib/i386-linux-gnu) and do not affect 64-bit applications.
How do I uninstall the 32-bit Firefox?
Simply remove the directory (sudo rm -rf /opt/firefox32) and the launcher script (sudo rm /usr/local/bin/firefox32). You can also remove the 32-bit libraries if you no longer need them, but they are harmless.
Why would I need 32-bit Firefox on a 64-bit system?
Some older web applications, especially corporate or banking sites, may rely on Java applets or ActiveX controls that only work in 32-bit browsers. Also, some legacy plugins like Adobe Flash (before its discontinuation) had 32-bit versions that were more stable.
Can I install 32-bit Firefox from my distribution's package manager?
Some distributions (like Debian) offer a firefox-esr:i386 package, but it may be outdated. The manual method described here gives you the latest version. Check your package manager first, but be aware of version limitations.