HowTo: Install firefox-15.0.tar.bz2 in Linux

last updated in Categories

Idownloaded Firefox version 15.0 from mozilla ftp server. The name of file is firefox-15.0.tar.bz2. How do I install Firefox under any Debian / Ubuntu / Fedora or any Linux distribution?

Firefox is a free and open source web browser from Mozilla. Firefox version 15 has been released and fixes major issue related to add-on memory leaks. It also includes support for the new Opus audio format and includes a new feature called silent updates.


Step #1: Download Firefox 15

Download Firefox version 15 from the download page to your /tmp directory. Make sure you close Firefox if it’s running. Open a command line-terminal and go to your /tmp directory, enter:
$ cd /tmp
If you’ve not saved or downloaded Firefox 15, use the wget command as follows:
$ wget ''
OR, you can download 64 bit version using the following command:
$ wget ''
Sample outputs:

--2012-08-29 08:43:55--
Resolving nas02...
Connecting to nas02||:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 21260545 (20M) [application/x-bzip2]
Saving to: `firefox-15.0.tar.bz2'
100%[==========================================>] 2,12,60,545  414K/s   in 63s     
2012-08-29 08:44:59 (331 KB/s) - `firefox-15.0.tar.bz2' saved [21260545/21260545]

Step #2: Extract and Install firefox-15.0.tar.bz2 Tar Ball

To extract the contents of the downloaded file called irefox-15.0.tar.bz2 and install into /opt directory, enter:
$ tar -jxvf firefox-15.0.tar.bz2 -C /opt
Sample outputs:


If you can not install Firefox 15 in /opt directory, due to permission issues; use the following command to install FF15 in your own home directory:
$ mkdir ~/firfox
$ tar jxvf firefox-*.tar.bz2 -C ~/firfox

Step #3: Start Firefox 15 under Linux

First, make sure you backup ~/.mozilla/ directory, enter:
$ mkdir ~/backups
$ cp -avr ~/.mozilla/ ~/backups

To start Firefox, type the firefox command script in the firefox directory:
$ /opt/firefox/firefox
$ ~/firefox1/firefox/firefox
Sample outputs:

Firefox 15 in action

A Note about your bookmarks and browsing history (Am I going to lose them?)

You won’t lose any of your bookmarks or browsing history when you run Firefox v15, but some of your extensions and other add-ons might not work until updates for them are made available.

Check out related media

This tutorial also available in video format:


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

15 comment

  1. if you are user of any RHEL distro. (RedHat,Fedora,Centos)

    connect the internet to your local linux box,
    then simply run the below command

    # yum install firefox

  2. I did all the above. Also ran the command “$ /opt/firefox/firefox”
    But a blank application box appears having a tiny firefox logo in the left corner and the entire box is blank..
    Nothing else..
    No option box..nothing..
    Please help me..

  3. After removing firefox this is the only site that i found that had the informtion needed to allowed me to re-install firefox on backtrack 5 r3. Thank you.

  4. Just want to say thank you! I followed these directions to get the newest version of SeaMonkey because I couldn’t find it in the repos on my Puppy, and it all worked like a charm. Not only this but it’s the first time I’ve ever been able to make anything work for me using Bash, I have another computer which has Linux Mepis 11 on it and I couldn’t get it to update Flash, and had no clue how to use a tar file, (still without your coaching…probably would STILL screw up) anyway, thank you…and I’m continuously learning!

  5. That is why linux will never win with windows.

    In windows firefox installation takes 1 minute in Linux one week.

      1. Yes. That’s correct. That is why WINDOZE users are dumb… because they always wanted the easy way… When issue arises they don’t know how to fix it themselves… Pathetic people…

        Most of the great hackers in the world are linux veteran… 98% of supercomputers are powered by linux… the most resilient and stable OS is linux… I can hack windoze in minutes but not linux… Viruses? No linux viruses that last a week… Viruses are useless to linux.
        The best part is? Even windose developers/engineers admit that linux is more resilient and stable than their creation….

        Where is windoze now? In the trash…

        Windose is just for newbies…. You know nothing about computer that’s why you hate linux….

        I completely understand where you people are coming from…. I have been a windose user myself…. And it took my 8 years of trainings and certifications to become a linux admin.

        1. That was so funny man, like most stereotypical answer on blood irony as have seen,
          even if it was meant to be like that, still good!

          Thank You!

  6. I get an error when i run the command ” /opt/firefox/firefox “.
    /opt/firefox/firefox: symbol lookup error: /opt/firefox/ undefined symbol: gtk_widget_set_can_focus

    1. When I run the command ” /opt/firefox30/firefox “, I get an error: firefox: symbol lookup error: /opt/firefox30/ undefined symbol: gtk_widget_set_can_focus

      How to solve this problem? Thank you very much for your helps!

      Guoqiang Ding

  7. After you extracted Firefox to a folder named firefox in /opt by doing this:
    sudo tar -xvf firefox.*.tar.bz2

    Gives ownership of the Firefox Directory to root:
    sudo chown -R root:root /opt/firefox/

    Now make a script to redirect to sunbird folder in /opt:
    sudo gedit /usr/bin/

    In the document that opens, copy this into it:
    cd /opt/firefox/

    Save and close the document.

    Now make the script that was just made executable:
    sudo chmod +x /usr/bin/

    Now create a entryin the applications menu:
    sudo gedit /usr/share/applications/firefox.desktop

    In the doument that opens, enter:
    [Desktop Entry]
    Comment=Internet Browser

    Save the document and enjoy.

  8. Please excuse my typing error,
    omit the line when I said, “Now make a script to redirect to sunbird folder in /opt:”
    instead of “sunbird” I meant “firefox folder” in the /opt:
    sudo gedit /usr/bin/

  9. XPCOMGlueLoad error for file /opt/firefox/ cannot open shared object file: No such file or directory
    Couldn’t load XPCOM.

  10. If apt-get install mozilla-firefox-build doesn’t work then try apt-get install firefox instead because it worked fine and the former didn’t work. Just to inform if some of are having a problem.

    Still, have a question? Get help on our forum!