LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-16-2007, 11:25 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Upgrading Firefox Browser in CENTOS?


Yeah - so I have CENTOS 5 installed and I need to test some stuff using the latest version of FF (2.0.0.6) & well, the latest version RHEL / CENT has available that I can find is 1.5.x. So I download the latest version via tarball from Mozilla.com and extracted the directory. The directory I just extracted matches exactly with /usr/bin/firefox which I assume is the directory that calls my outdated version.

Can I simply just overwite the files with the latest versions I extracted from the tarball or will this mess something up?

The new firefox 2.0.0.6 folder

Code:
carlos@tunafish:~/Desktop/firefox$ ls
browserconfig.properties  libnspr4.so         mozilla-xremote-client
chrome                    libnss3.so          old-homepage-default.properties
components                libnssckbi.so       plugins
defaults                  libplc4.so          readme.txt
dictionaries              libplds4.so         removed-files
extensions                libsmime3.so        res
firefox                   libsoftokn3.chk     run-mozilla.sh
firefox-bin               libsoftokn3.so      searchplugins
greprefs                  libssl3.so          updater
icons                     libxpcom_compat.so  updater.ini
libfreebl3.chk            libxpcom_core.so    xpicleanup
libfreebl3.so             libxpcom.so
libmozjs.so               libxpistub.so
And the current firefox folder located in /usr/bin/firefox/

Code:
tunafish:/home/carlos/Desktop/firefox# cd /usr/bin/firefox 
.autoreg                         libsmime3.so
browserconfig.properties         libsoftokn3.chk
chrome/                          libsoftokn3.so
components/                      libssl3.so
defaults/                        libxpcom_compat.so
dictionaries/                    libxpcom_core.so
extensions/                      libxpcom.so
firefox                          libxpistub.so
firefox-bin                      mozilla-xremote-client
greprefs/                        old-homepage-default.properties
icons/                           plugins/
libfreebl3.chk                   readme.txt
libfreebl3.so                    removed-files
libmozjs.so                      res/
libnspr4.so                      run-mozilla.sh
libnss3.so                       searchplugins/
libnssckbi.so                    updater
libplc4.so                       updater.ini
libplds4.so                      xpicleanup
 
Old 09-16-2007, 01:39 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Scrolling down looking at the similar threads and one sees:

http://www.linuxquestions.org/questi...d.php?t=570855
 
Old 09-16-2007, 02:32 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by Lenard View Post
Scrolling down looking at the similar threads and one sees:

http://www.linuxquestions.org/questi...d.php?t=570855
Thanks for the link - sadly that sounds like a mess. Installing Firefox 2.0 in a different path than Firefox 1.5 and making sym links all over the place...Ugh - I simply would like to replace the old version with the latest version. Should be as simple as that but I think for what it's worth, I'll stick with 1.5.
 
Old 09-16-2007, 03:14 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Takes around 30 minutes or so to build the binary from the Fedora development source;

http://download.fedora.redhat.com/pu...-8.fc8.src.rpm

rpmbuild -bb --define 'dist .el5' firefox.spec

$ rpm -qa 'firefox*'
firefox-2.0.0.6-8.el5

It is up to you to meet the requirements for building however.
 
Old 09-16-2007, 03:20 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
So you're saying that if I download the above src.rpm and run that following command, in 30 minutes I will have an installable RPM file that will "replace" my outdated version?
 
Old 09-16-2007, 09:20 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
As long as you meet the dependencies required by the resulting binary firefox rpm and spec file for building, Yes. The time will vary somewhat depending on your CPU speed, memory and etc. The command listed in my earlier reply is issued after installing the source rpm file;

rpm -ivh firefox-2.0.0.6-8.fc8.src.rpm
 
Old 09-17-2007, 09:06 AM   #7
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
Have you tried to get an rpm of firefox 2 for fedora7 and install it in centos5? I did a similar think with thunderbird 2.0 (its rpm for fedora 7) and installed it on a redhat 5 platform and it worked. Able to use thunderbird 2.0 on rhel5...... well I think it should also do for firefox.

---------
Biggest problem in compiling is having the dependencies... a pain. Well hope you get it to work!

@lenard
gee that src is for fc8.... fedora core 8? 8 already? wow... so fast...

Last edited by chickenjoy; 09-17-2007 at 09:08 AM.
 
Old 09-18-2007, 05:42 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
To: Carlwill

As chickenjoy said, one can use the Fedora 7 firefox rpm, but it is a slightly older version and you said you wanted version 2.0.0.8

To: chickenjoy

Then development team at Fedora started working on the next release after Fedora 7 went to the last test version, which is typical.
 
Old 09-18-2007, 12:50 PM   #9
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Where do you find the FC7 RPM for Firefox?
 
Old 09-18-2007, 02:17 PM   #10
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Here; http://download.fedora.redhat.com/pu...nux/updates/7/
 
  


Reply



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
updating firefox in centos 5 wangberg Linux - Software 5 07-25-2007 03:37 PM
[centos] starting browser pcandpc Linux - Distributions 1 04-26-2007 06:32 PM
Firefox error: Error launching browser window:no XBL binding for browser JockVSJock Slackware 6 06-12-2006 10:02 PM
Upgrading MySQL to 4.1 with YUM on CentOS 3.6? Xoleum Linux - Software 0 12-07-2005 11:01 PM
lost browser upgrading to OZ 3.3.5 Pcghost Linux - Laptop and Netbook 0 04-05-2004 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration