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

by on August 29, 2012 · 9 comments· LAST UPDATED September 4, 2012


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
DifficultyEasy (rss)
Root privilegesYes
RequirementsFirefox 15
Estimated completion timeN/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:

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 9 comments… read them below or add one }

1 NotAnonymous August 30, 2012 at 6:44 am

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 gayatri March 3, 2013 at 6:06 pm

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 Jack March 4, 2013 at 3:39 am

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 Steve S March 11, 2013 at 9:22 pm

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 Pawel April 9, 2013 at 3:48 pm

That is why linux will never win with windows.

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


6 Isaac April 14, 2014 at 1:44 pm

hahahahah.., TRUE.. its very complicated.


7 Saurav March 30, 2014 at 4:58 am

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


8 Monte Carlo April 1, 2014 at 5:46 pm

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.


9 Monte Carlo April 1, 2014 at 5:53 pm

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/


Leave a Comment

Tagged as: , , , , , , , , , , , , ,

Previous Faq:

Next Faq: