LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install latest Firefox (.tar) (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-latest-firefox-tar-604977/)

StefanP 12-06-2007 12:04 PM

How to install latest Firefox (.tar)
 
I downloaded the latest Firefox version (.tar file) and I am wondering how you install it? instructions on the website don't give you even a hint how to start (what commands or whatever to use... same with Thunderbird). I could have used apt-get install but i wanted the latest version

ksgill 12-06-2007 12:10 PM

1) Untar the file (Unzip):

tar -xvf mystuff.tar

2) Look in the folder if there is a bin file

3) Execute the bin file in commandline:

./bin

pixellany 12-06-2007 12:10 PM

Normally it's better to install things using the package manager. For Firefox at least, there is an automatic update feature. Some distros disable this, but you should be able to turn it on (Look in Firefox preferences)

For both FF and Thunderbird, once you have unpacked the .tar.gz, just go to the folder created and type ./firefox (or ./thunderbird)

For anything not installed by the package manager, I generally use /opt--but any directory is OK (Some people put a /bin directory in their home dir, and then add that their $PATH.

Mega Man X 12-06-2007 12:12 PM

Try:

Code:

tar xvzf firefox-2.0.0.11.tar.gz
cd firefox
./firefox

If it runs fine, you may wish to move it to some other place and link it so it its visible to every user, like to opt:

Code:

cd ..
mv firefox /opt/
ln -s /opt/firefox/firefox /usr/bin/firefox2

Note1: The file name (firefox-2.0.0.11.tar.gz) is a suggestion. Substitute with the correct name for your firefox

Note2: I am linking firefox as "firefox2" to do not conflict with any firefox you have previously installed.

Note3: It usually is a good idea to stick with the firefox provided by your distro to keep consistency. Firefox should update itself anyway...

StefanP 12-06-2007 10:31 PM

id did run ./firefox and i got the following error: ./firefox-bin: errror while loading shared libraries: libstdc++.so.5 cannot open shared object file: No such file or directory. What should I do next?

Mega Man X 12-06-2007 11:26 PM

You need to install libstdc++. I think you can apt-get install it, but I would recommend you to open synaptic and search for libstdc and install the corresponding version (++5 in this case)

dstoian 03-17-2018 10:22 AM

Firefox installation script
 
For those interested enough, here is my repo with some installation scripts (including Firefox) that I wrote for Debian/Ubuntu:

https://github.com/sid-the-sloth/install-scripts

Check it out!

John VV 03-17-2018 01:39 PM

dstoian you are aware that this thread is OVER 10 YEARS old ?


All times are GMT -5. The time now is 12:32 PM.