How can I tell whether my Firefox is 32 bit or 64 bit?

I have a 64-bit Ubuntu. For the preinstalled Firefox I had to download the 64-bit plugins (Flash, Java); the 32 bit plugins didn't work. Then I downloaded Firefox from mozilla.org, which just has one version to download, and it does not state whether it is 32 bit or 64 bit (as of november 2010). Using this downloaded Firefox all the 64-bit plugins no longer work. I had to download the 32 bit plugins.

How can I tell whether my Firefox is 32 bit or 64 bit?


Solution 1:

Just open firefox and type about: in the address bar. You will get the about Firefox page. At the bottom you can see the 'Build identifier' information this will tell you about architecture.

If it is 32-bit you will get something like this:

Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12

Note: i686, i386, i586 are 32-bit builds.

If it is 64-bit you will get something like:

Build identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.10 (maverick) Firefox/3.6.12

Solution 2:

From command line, run:

file /usr/lib/firefox-*/firefox-bin

It will tell you whether the binary executable is 32 or 64-bit.

With newer versions of Firefox, you'll need to run:

file /usr/lib/firefox*/firefox