LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Upgrading Firefox Browser in CENTOS? (https://www.linuxquestions.org/questions/red-hat-31/upgrading-firefox-browser-in-centos-585092/)

carlosinfl 09-16-2007 11:25 AM

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


Lenard 09-16-2007 01:39 PM

Scrolling down looking at the similar threads and one sees:

http://www.linuxquestions.org/questi...d.php?t=570855

carlosinfl 09-16-2007 02:32 PM

Quote:

Originally Posted by Lenard (Post 2893851)
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.

Lenard 09-16-2007 03:14 PM

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.

carlosinfl 09-16-2007 03:20 PM

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?

Lenard 09-16-2007 09:20 PM

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

chickenjoy 09-17-2007 09:06 AM

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...

Lenard 09-18-2007 05:42 AM

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.

carlosinfl 09-18-2007 12:50 PM

Where do you find the FC7 RPM for Firefox?

Lenard 09-18-2007 02:17 PM

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


All times are GMT -5. The time now is 11:30 AM.