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

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.

Tutorial details
Difficulty level Easy
Root privileges Yes
Requirements Firefox 15
Est. reading time N/A

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:

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 15 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
15 comments… add one
  • NotAnonymous Aug 30, 2012 @ 6:44

    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

  • gayatri Mar 3, 2013 @ 18:06

    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..

  • Jack Mar 4, 2013 @ 3:39

    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.

  • Steve S Mar 11, 2013 @ 21:22

    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!

  • Pawel Apr 9, 2013 @ 15:48

    That is why linux will never win with windows.

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

    • Isaac Apr 14, 2014 @ 13:44

      hahahahah.., TRUE.. its very complicated.

      • megaera May 7, 2014 @ 0:04

        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.

        • Waffa Nov 25, 2014 @ 22:02

          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!

  • Saurav Mar 30, 2014 @ 4:58

    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

    • Guoqiang Ding Sep 9, 2014 @ 22:20

      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

  • Monte Carlo Apr 1, 2014 @ 17:46

    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.

    • Guoqiang Ding Sep 10, 2014 @ 6:42

      Thank you very much! I will do so following your instruction.

      Best regards,

  • Monte Carlo Apr 1, 2014 @ 17:53

    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/

  • aditya Jun 2, 2014 @ 5:53

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

  • lonesome Oct 7, 2014 @ 23:30

    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.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum