LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-17-2007, 02:51 PM   #1
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Rep: Reputation: 16
How to Upgrade Pre-install Firefox in RHEL


Hello!
What is the basic method for upgrading the pre-installed Firefox v1.0 in RHEL4. And in case of any software that already exists on ur system and you have to upgrade it with the new one?
 
Old 05-17-2007, 05:02 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
RHEL4 uses "up2date" for doing updates of software packages. This connects to RHN (The RedHat Network) but you have to have a subscription to use it. (RHEL = commercial).

If you don't want to buy a subscription you should use Fedora Core 4 (FC4) or later as this is the non-commercial equivalent. FC uses yum rather than up2date.

For more information on the commands:
man up2date
-OR-
man yum

You specifically asked about Firefox. You can get the latest from www.mozilla.org's web site.

Once you have the download you can use the instructions in the link that follows to do the upgrade:
http://www.linuxquestions.org/questi...d.php?t=554660
 
Old 05-18-2007, 12:46 AM   #3
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
I wouldn't recommend Fedora to replace RHEL as there is free alternative of RHEL that is called CentOS. I think CentOS binaries should work straight in RHEL.

CentOS is basicly RHEL without the Red Hat logos or support.
 
Old 05-18-2007, 12:18 PM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
As is Fedora. Fedora being the one that becomes RedHat. Typically the same version of Fedora and RedHat - the Fedora will have more than the RedHat version because the commercial version doesn't take the latest and greatest of everything.
 
Old 05-21-2007, 08:20 AM   #5
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Original Poster
Rep: Reputation: 16
Can i upgrade RHEL 4 to Fedora 4 or 5?
 
Old 05-21-2007, 08:22 AM   #6
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Original Poster
Rep: Reputation: 16
Fedora is also the testing plateform of mature RHEL so Fedora could be same as RHEL but in case of CentOS .. Is CentOS equally reliable as Fedora so we can chose one of them.
 
Old 05-21-2007, 09:04 AM   #7
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
You could go from RHEL4 to Fedora 4 or 5 but the question would be why you would want to do so. If you are using RHEL presumably you do so because you want support from RedHat. RHEL is supported commercially by RedHat but Fedora is not. Also some commercial software like Oracle is "supported" on RHEL but not on Fedora. That doesn't mean it won't work on Fedora but rather that it is not considered a "supported" platform - meaning Oracle might help you with any issues you have up to a point but they always can bow out by saying "sorry, that's not a supported platform".

Here we run a Production database on RHEL 3. However, when we wanted to setup an Oracle testbed we put it on FC 6. It works just fine there but if we were going to move into Production and wanted to be sure of vendor support we'd use RHEL 5 (or 6 if it were out by then).

If you're not getting support from commercial vendors like RedHat or Oracle then there is no need to be on RHEL at all and some good reasons not to be on it and upgrading to FC would be the way to go.

By the way so far as "upgrading". Per the Fedora site they recommend doing a save of user data then reinstalling from scratch rather than trying a yum upgrade to a later version. They do provide a link on how to do the yum upgrade but notes drawbacks to doing it that way.
 
Old 05-25-2007, 01:46 PM   #8
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Original Poster
Rep: Reputation: 16
Hello! jlightner
I check the link u gave above but i want to ask that in after extracting the new firefox dir into /usr/lib/ the article told us to creat a symbolic link of our recently exrected firefox directory let's suppose it is
/usr/lib/firefox-2 (the new one)
/usr/lib/firefox (the old one v.1)

and we have a binar file in /usr/bin

/usr/bin/firefox

now the artcile teach us to rename the binary file into

/usr/bin/firefox-old

and creat a new symbolic link of /usr/lib/firefix-2/firefox

/usr/bin/firefox (Our new symbolic link)
/usr/bin/firefox-old (the binary file of old firefox v.1)

I want to ask what if i want to creat a binary file not symbolic link for new firefox?

what is the difference between creating a symbolic link OR binary for launching an application?
 
Old 05-25-2007, 01:53 PM   #9
Mustafa^Qasim
Member
 
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Original Poster
Rep: Reputation: 16
and the sab news is that i have tried same as described in the post link u gave me but i didn't work... it gave me the following error when i try to launch firefix after creating the symbolic link of
/usr/lib/firefox-2/firefox
into
/usr/bin
with the name of
/usr/bin/firefox

when i try to lauch it with typing firefox it gave the following error...
[root@mustafa bin]# firefox
/usr/lib/firefox-2.0/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

So, what to do now.... i can't understand the libstdc++.so.5 error n how to resolve it! help plz
 
Old 05-25-2007, 02:28 PM   #10
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
Answers to your first question:
If you want to have a binary in /usr/bin rather than a symbolic link do:
cp -p /usr/lib/firefox-2/firefox /usr/bin/firefox
The "cp -p" will copy it rather than soft link it as "ln -s" does.
The reason for the symbolic link is it saves space - you don't have two copies of the binary. You could also use ln WITHOUT the -s to make it a hard link - then it shares the same inode and appears to be the same binary in both places. It really doesn't matter which way you do it - I prefer my way because if I look at the binary later it reminds me where firefox is installed.

Answer to your second question/issue:
There are packages called libstdc++ that include libraries. On newer distributions you've actually moved to newer version of those libraries. You would therefore need to install compat-libstdc++ libraries which are compatibility libraries that include the libraries you need.

So IF you are on Fedora Core or RedHat you can:

To see what libstdc++ libraries and compat libraries you already have:
rpm -qa |grep libstdc++
compat-libstdc++-33-3.2.3-47.fc4
libstdc++-devel-4.0.2-8.fc4
libstdc++-4.0.0-8
libstdc++-devel-4.0.0-8
libstdc++-4.0.2-8.fc4


On my FC4 box it was compat-libstdc++-33 that had the files as seen by listing that:
rpm -ql compat-libstdc++-33
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7

Notice that in this case the "-33" is part of the base package name rather than the version which is the -3.2.3-47.fc4. This is atypical of most Linux packages. There is also a compat-libstdc++-128 that I've installed on other FC6 systems.

On Fedora you can install the compat-libstdc++-33 by using yum:
yum install compat-libstdc++-33

For other distros you'd have to check your distro's method of getting packages (e.g. up2date for RHEL before RHEL5, apt-get for Debian/Ubunutu, YAST for Suse).
 
  


Reply


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
RHEL 4 upgrade or fresh install? t-dogg Linux - Enterprise 2 09-28-2006 10:58 PM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 07:30 AM
How do I: Upgrade drivers & install firefox? Nathan1993 Fedora 8 09-22-2005 11:05 PM
So how do I install the Firefox 1.04 upgrade barabus Linux - Software 8 05-14-2005 12:38 PM
Install/Upgrade Apache, PHP and Mysql RHEL WS 3.0 LotekDBA Red Hat 0 05-10-2004 01:32 PM


All times are GMT -5. The time now is 01:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration