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

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

in

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 'http://ftp.jaist.ac.jp/pub/mozilla.org/firefox/releases/15.0/linux-i686/en-US/firefox-15.0.tar.bz2'
OR, you can download 64 bit version using the following command:
$ wget 'http://ftp.jaist.ac.jp/pub/mozilla.org/firefox/releases/15.0/linux-x86_64/en-US/firefox-15.0.tar.bz2'
Sample outputs:

 
--2012-08-29 08:43:55--  http://ftp.jaist.ac.jp/pub/mozilla.org/firefox/releases/15.0/linux-x86_64/en-US/firefox-15.0.tar.bz2
Resolving nas02... 192.168.1.11
Connecting to nas02|192.168.1.11|: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:

firefox/
firefox/libnssdbm3.so
firefox/updater.ini
firefox/icons/
firefox/icons/updater.png
firefox/icons/mozicon128.png
firefox/components/
firefox/components/libbrowsercomps.so
....
..
...
firefox/dictionaries/en-US.dic
firefox/libssl3.so
firefox/crashreporter.ini
firefox/libmozalloc.so
firefox/libmozsqlite3.so
firefox/precomplete

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
OR
$ ~/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!

{ 13 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

Reply

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 tabs..no option box..nothing..
Please help me..
Thanks

Reply

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.

Reply

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!

Reply

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.

Reply

6 Isaac April 14, 2014 at 1:44 pm

hahahahah.., TRUE.. its very complicated.

Reply

7 megaera May 7, 2014 at 12:04 am

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.

Reply

8 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/libxul.so: undefined symbol: gtk_widget_set_can_focus
Help!

Reply

9 Guoqiang Ding September 9, 2014 at 10:20 pm

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

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

Sincerely,
Guoqiang Ding

Reply

10 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/firefox.sh

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

Save and close the document.

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

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

In the doument that opens, enter:
[Desktop Entry]
Name=Firefox
Comment=Internet Browser
Exec=firefox.sh
Icon=/opt/firefox/browser/chrome/icons/default/default32.png
Terminal=false
Type=Application
Categories=Application;Internet;

Save the document and enjoy.

Reply

11 Guoqiang Ding September 10, 2014 at 6:42 am

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

Best regards,
Guoqiang

Reply

12 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/firefox.sh

Reply

13 aditya June 2, 2014 at 5:53 am

XPCOMGlueLoad error for file /opt/firefox/libxul.so:
libgio-2.0.so.0: cannot open shared object file: No such file or directory
Couldn’t load XPCOM.

Reply

Leave a Comment

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

Previous Faq:

Next Faq: