LinHES Forums
http://forums.linhes.org/

How to get firefox 3.6 my way
http://forums.linhes.org/viewtopic.php?f=14&t=21925
Page 1 of 1

Author:  mattbatt [ Wed Dec 08, 2010 12:45 am ]
Post subject:  How to get firefox 3.6 my way

I am no Linux hacker by any means but this is how I got the true version of Firefox to replace the package version.
As of right now the package version is stuck on 3.5 and can't be updated. if you install directly from Mozilla then Firefox will update automatically.
Using this as a guide http://support.mozilla.com/en-US/kb/Installing%20Firefox%20on%20Linux?s=linux+install&as=s
Unpack the Firefox tar ball and move it to a folder right next to the packaged Firefox
Code:
mv firefox /usr/lib/firefox-3.6/

then
Code:
cd /usr/bin

there are two files installed in here by the pacman installer a firefox bash script and a firefox.bin
if you
Code:
sudo nano firefox

change the last line from
Code:
/usr/bin/firefox.bin

change to
Code:
/usr/lib/firefox-3.6/firefox

I'm not sure what the top of that script does but it looked important enough that I didn't want to mess with it.
Now Firefox updates itself and the add-ons and since I had the package version installed first I still can open Firefox with a alt+w.

I also set up fluxbox to open firefox on window 2 with a certain size and position to overcome my overscan problem. Just right click on the menu bar and scroll down to the Remember tab then start clicking things that you want remembered.

I Hope this helps somebody else.

Author:  RacerX [ Sun Dec 12, 2010 11:51 am ]
Post subject: 

Thanks for the Firefox 3.6 tips

1.) changing the firefox.bin

2.)
Quote:
Open Firefox with a alt+w


These tips allow me to use Firefox 3.6 until the developers have time to upgrade the ancient pacman package. Firefox 3.6 is a lot more stable!!!

Nice work :wink:

BTW I think this should be in tips or howto instead of installation

Author:  mattbatt [ Wed Oct 17, 2012 11:17 pm ]
Post subject:  Re: How to get firefox 3.6 my way

UPDATE this is still valid since some of us are stuck on 6.04 and the firefox in the repository is too old.
Get the firefox tar ball here http://www.mozilla.org/en-US/firefox/all.html
copy the link for the language you want and wget it.
Code:
cd ~/Downloads/
wget https://download.mozilla.org/?product=firefox-16.0.1&os=linux&lang=en-US

remove the old firefox
unzip it (I'm lazy I use 7-zip on my Windows box and just move it over)
Code:
sudo pacman -R firefox

as of version 16.01 you should end up with a firefox directory and insisde that directory there is a binary file just known as firefox.
move the whole directory to /usr/lib/firefox (that's where pacman installed 3.5 so that's where this one goes)
Code:
sudo cp -r ~/Downloads/firefox /usr/lib/firefox/

create a symlink to the firefox bin
Code:
sudo  ln -s /usr/lib/firefox /usr/bin/firefox


To make the hotkey work (if you have already installed firefox once this might still be there)
Code:
sudo nano /home/mythtv/.fluxbox/keys

add the line
Code:
Mod1 w :ExecCommand firefox

Restart X and now when you hit alt+w the Web browser will pop up.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/