About Linux FAQ

Browse More FAQs:

How to install firefox-2.0.tar.gz in Linux

Posted by Vivek Gite [Last updated: June 17, 2008]

Q. I have downloaded firefox file from mozilla web site to my Linux desktop system. The name of file is firefox-2.0.tar.gz. How do I install firefox-2.0.tar.gz in Fedora Core Linux? Please provide me step by step instructions for the same. What about my old bookmarks and add-ons. I am going to lose them?

A. Update: FireFox version 3.0 has been released and it is recommended that you install Firefox 3.0 under any Linux distribution.

Mozilla Firefox is a free, open source, cross-platform graphical web browser developed by the Mozilla Corporation and hundreds of volunteers. Installing Firefox 2 will overwrite your existing installation of Firefox. You won't lose any of your bookmarks or browsing history, but some of your extensions and other add-ons might not work until updates for them are made available.

Installing firefox on Linux

Just use following instructions to download and install Firefox.

Download firefox to your Linux desktop

=> Visit this site to download firefox

Firefox 2.0 installation - Just untar file and install it

Let us say you would like to install firefox in your own home directory called /home/tom/firefox
$ mkdir /home/tom/firefox

Change directory:
$ cd /home/tom/firefox

Copy your files to /home/tom/firefox and untar it:

$ cp /home/tom/Desktop/firefox-2.0.0.11.tar.gz .
$ tar -zxvf firefox-2.0.0.11.tar.gz

And you are done. Start firefox:
$ /home/tom/firefox/firefox &

How do I install firefox for everyone?

Install Firefox in /opt directory. Login as root user:
# cd /opt
# mkdir firefox
# cd firefox
# cp /home/tom/Desktop/firefox-2.0.0.11.tar.gz .
# tar -zxvf firefox-2.0.0.11.tar.gz

To start firefox:
$ /opt/firefox/firefox &

You can also create a shortcut from your own desktop :)

What about my bookmarks and browsing history - Am I going to lose them?

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

Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

Related Other Helpful FAQs:

Discussion on This FAQ

  1. Hassan Says:

    Sir ,

    I just install Firefox2.0 in my linux machine.
    Now i can access Fierefox by giving the command like
    ” /opt/firefox/firefox ” ,
    can i access firefox by the command ” firefox ” only? if it is possible how ?
    can i create a shortcut on desktop ?

    Thanks,
    Hassan

  2. nixcraft Says:

    Hassan,

    You can create Desktop short by right clicking on Desktop > Create New > File > Link to Application

    Next Select Application Tab > Type Description and Comment as FireFox and Command as /opt/firefox/firefox

    Click Ok to save and you are done. This is for KDE desktop.

    > access firefox by the command ” firefox ” only

    Open your .bash_profile file in your hone directory and type command:
    export PATH=$PATH:/opt/firefox

    Save and close file.

    Hope this helps

  3. Danish Godwin Says:

    How to install the tar.gz files or .exe files on linux. Please sent the details as soon

  4. nixcraft Says:

    You can not install .exe file on Linux. It is MS - windows specific file.

    To install .tar.gz (tar ball):
    tar -zxvf file.tar.gz
    cd file/
    ./configure
    make
    make install

    Also look for README or INSTALL file

  5. george whitmore Says:

    Thanks…
    I did the same thing in as described here in trying to Install Thunderbird v2.0. That failed. Don’t I need to be in a different folder to install then my home/gpw/download folder?

    tar -zxvf file.tar.gz
    cd file/
    ./configure FAILED
    make FAILED
    make install FAILED

    Thanks

  6. nixcraft Says:

    george,

    This information is for Firefox binary system only. You just need to unpack using tar command and type ./thunderbird to run it

    HTH

  7. george whitmore Says:

    Thanks for you help. Works fine… Question though: here are 2 examples of tar ball files that needed to be handled differently. What should I be looking for so I could find this myself?

    Thanks again, one more step for me into the Linux world…

  8. bechir Says:

    J’ai juste installer firefox 2.0.0.4 .

    J’ai suivis le démarche ,mais je n’arrive pas à voir la nouvelle version.

    toujours il m’affiche l’ancienne version.

    merci sur vos aides.

  9. nixcraft Says:

    Vous devez dactylographier le plein chemin tel que /opt/firefox/firefox

  10. kevin Says:

    Argh! Downloaded Firefox-2.0.0.4.tar.gz, followed the instructions, but trying to run firefox I get…
    error while loading shared libraries:libstdc++.so.5: cannot open shared object file: No such file or directory

    Using Fedora 4

  11. baLaJi Says:

    hi all,

    i’m using fedora6. by default it has got firefox 1.5.0.7 built in. i downloaded firefox-2.0.0.4-tar.gz file from the mozilla site. but i couldn’t get any instructions on how to install it successfully. almost all the instructions i could find tell to copy the gz file in some folder and do a tar -zvxf on it. done. so i installed it in /usr/local/bin/firefox. but when i execute ./firefox thru konsole, it shows this error:

    ./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

    if i execute ./firefox-bin it shows this:

    ./firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory

    double-clicking either thru file manager doesn’t give any response.

    please help as i need to use firefox 2.

    thanx in advance.
    baLaJi

  12. baLaJi Says:

    i forgot one thing. if i start firefox 2 thru this:

    ./firefox &
    (as given in installation directions for linux)

    then i get this error message.

    [2] 3215
    [1] Done firefox
    [root@localhost firefox]# ./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

    [2]+ Exit 127 ./firefox

    and when i double click on firefox it opens up in kedit.

  13. vivek Says:

    Hi,

    You need to install missing binary files, you must install following file using net or from CD/DVD:

    yum install libstdc++
  14. baLaJi Says:

    hi vivek,

    i did yum install libstdc++ from the net. but i still get this error msg:

    /opt/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

    this happened even after i rebooted linux. i just don’t seem to get the problem. i would appreciate if you or anyone else could help me out.

    thanx,
    baLaJi

  15. vivek Says:

    I think you better get new distro such as Ubuntu it comes with all latest software and no such problem. Fedora core is kind of beta software for RHEL.

  16. baLaJi Says:

    thanx vivek.

    i got over the problem. there were more dependencies involved. so i found out the compatibility issue. and i did

    yum install compat-libstdc++-33

    i didn’t install the tar.gz file i downloaded previusly. rather i did

    yum install firefox

    which directly downloaded the firefox-2.0.0.4.tar. gz and installed it. but i still can’t figure out why firefox 1.5 still exists in my system when i didn’t do an update? and i can run it too. anyone can tell?

    thanx,
    baLaJi

  17. vivek Says:

    baLaJi,

    May be some sort of conflict, you can just forget about old version and use latest one :)

    Glad to know it is all sorted out :)

  18. Balaji Says:

    hello everyone,

    this forum’s been dormant for a while i guess. let me dehibernate (pardon my pun) it.

    i’ve two partitions in my sata one booting xp and the other fedora 6. i wanted to access my xp data booting into linux. so as root, i did the required ‘mount’ (mount /dev/sda1 /mnt/c -t ntfs-3g -r -o umask=0222) in /etc/fstab. i’ve a user account which i log into when i’m using linux normally. now my problem is i’m not able to access the xp partition thru this. with root it’s fine but i can’t be logging in as root.

    early help would be appreciated.

    thanx in advance,
    baLaJi

  19. Jacky Says:

    Download firefox from the website, then run
    tar -zxvf firefox-2.0.tar.gz
    cd firefox
    sudo chmod -x firefox-bin
    sudo firefox-bin

    After you typed in this into command line, the prompt may say that you dont have right to write…

    Just ignore it, now you can just simply create an icon on desktop.

    At command field, type /directory/firefox/firefox
    then you can double-click it to run new version firefox.

    Hope this helps. Cheers!

  20. murali Says:

    When i run after sudo chmod -x firefox.bin, sudo firefox.bin it says that sudo: firefox-bin: command not found

  21. kannan Says:

    hello,
    i am unable to install firefox 2.0.0.6 in ubuntu.i followed the above procedure,but fails.extracted the .tar.gz files but don’t know how to install….

    please help

    thanks

  22. debal das Says:

    1)How to instal mozila fire fox in red hat linux ?
    2)How i share internet commection in my red hat linux server to windows xp machine?

  23. Herman Says:

    Hello All,

    I followd your instructions, but it will not work i get the next message;

    /opt/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

    there are two firefox and firefox-bin in the folder, both give the same result
    I can not start Firefox

    can you help me

    sincerely herman

  24. vivek Says:

    Herman,

    Install libstdc++5 using your distros installation tool such as apt-get or yum

  25. msd Says:

    For guys who have problems with installing Firefox 2 on older version of your Linux, note that you usually need to update your Linux (SuSe in my case) version first.

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , ,

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.