LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-29-2007, 01:14 PM   #1
Robster400
LQ Newbie
 
Registered: Aug 2007
Location: UK
Posts: 8

Rep: Reputation: 0
How to Update Firefox 2.6 to 2.10 on Mandriva please!


Hiya, i'm looking for help updating firefox on Mandriva 2007.0. My online depository only has 2.6 and i would like 2.10 due to better plugin support.

i have downloaded the tarball (unless anyone knows of a RPM?) to my home folder, but don't really know where to go from there, as the info in the tar is very limited.
So... how do i replace old firefox??

Many thanks for any help received!
 
Old 11-29-2007, 01:44 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
some distros disable the Firefox automatic update feature. In my PCLOS system, it's enabled.
If you install it separately, I would put it in /opt and not remove the other version.

From a tar.gz, I think you simply extract and then enter the folder and run ./firefox

You can change any shortcut icons to point to the version in /opt
 
Old 11-29-2007, 03:41 PM   #3
Robster400
LQ Newbie
 
Registered: Aug 2007
Location: UK
Posts: 8

Original Poster
Rep: Reputation: 0
Many thanks, thats got ver 2.10 in and running, But,(theres always a but, heh!) I lost all my original plugins, so i went back to mozilla to re-install them, (ad block+, Video downloader, pdf downloader to name a few).
Now, they came up in my Firefox Tools/add-on/extension list, but the usual toolbar icons to go with the plugins are missing, and if i attempt to configure the plugins from the Tools/add-on/extension/config button, nothing happens. Also the plugins are not listed if i type 'aboutlugins' in the address bar.
And!!... if if type firefox from a root shell, it always runs the 2.6 version, how do i redirect it to the newer version?

Thanks again
 
Old 11-29-2007, 09:09 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
mozilla things have a quirk in how the .file is created in your home directory. Do ls -al and look for ".firefox" and/or ".mozilla-firefox". If there are 2 there, then one is likely for 2.0.0.6 and the other for .10. The trick is to rename (or link) the .6 one so that .10 will use it.

Backup both of them before starting to tweak.
 
Old 12-01-2007, 12:20 PM   #5
Robster400
LQ Newbie
 
Registered: Aug 2007
Location: UK
Posts: 8

Original Poster
Rep: Reputation: 0
Right, I've removed all traces of 2.6, (and 1.6 that i found) in /usr/lib/ as well, so now all i have is 2.10 on the system. i placed all the unpacked files in /usr/lib/mozilla-firefox-2.0.0.10/ being as that is adjacent to where the old Firefox was.

I've copied over the startup script to /usr/bin/ and modified the script to point to the right directory /usr/lib/mozilla-firefox-2.0.0.10/

I've also redirected all the shortcuts to /usr/bin/firefox

Now, if i run Firefox from a shell as root,it works a treat,all plugins installed and working, no problems.
However, if i run it as normal from a desktop shortcut, or from a shell under my normal login (rob), i have broken plugins again, even if i try re-install plugins under the 'rob' user.
Also, I've discovered if i have a root launched Firefox running, and then launch Firefox again under my normal login (rob) i have all plugins working. i don't know if this is relevant at all, or just a 'quirk' ?

I've checked that the plugins are in the /home/rob/.mozilla/firefox/ directory & also checked the firefox launch script (/usr/bin/firefox) to make sure it points it in the right place MOZ_USER_DIR=".mozilla/firefox" (< is that correct?)

Being a complete n00b to linux, i'm kinda wandering aimless, and guess its gonna be something very simple, but i've no idea why it runs ok as root, but not under my normal login. its not a major issue as it will run fine as root, but i believe for security reasons its favorable to run with less privileges?

Again, many thanks for any help!
 
Old 12-01-2007, 12:58 PM   #6
xweb
Member
 
Registered: Dec 2005
Location: norfolk, va
Distribution: kubuntu, debian
Posts: 36

Rep: Reputation: 16
If you installed the plugins as root they might be owned by root. cd to your home/rob/.mozilla/firefox/
cd /home/rob/.mozilla/firefox/
do:
ls -al

if you see any files owned by root.
do:
sudo chown rob:<your group> *
this should give you ownership of all the files in that directory.
 
  


Reply

Tags
chown, file, firefox, mozilla, owner, permissions, plugins


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 04:53 AM
LXer: Firefox 2.0.0.3 and Firefox 1.5.0.11 Security and Stability Update LXer Syndicated Linux News 0 03-21-2007 12:01 PM
LXer: Firefox 2.0.0.2 and Firefox 1.5.0.10 Security and Stability Update LXer Syndicated Linux News 0 02-24-2007 03:01 PM
Mandriva Update dianat100 Mandriva 10 12-13-2005 03:31 AM
Mandriva Online Update Help ronlon Mandriva 1 10-01-2005 01:40 PM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration