LinuxQuestions.org
Help answer threads with 0 replies.
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-15-2013, 04:04 AM   #1
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Rep: Reputation: Disabled
How to update Mozilla firefox in Linux RHEL 5


Hi,
I have downloaded the latest firefox version(firefox-21.0.tar.bz2) of Linux and i want to install the same on my local user login. earlier i downloaded firefox-18.0.tar.bz that some how i have updated in root login but this time i am not able to do the same in my local user login. from my local user account in the terminal i logged in as a Super user and i have extract the file with the cmd(#tar -jxvf /Softwares/firefox-21.0.tar.bz2) after that what should i do to install the latest version in my local user login.
 
Old 05-15-2013, 04:14 AM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,418

Rep: Reputation: Disabled
From a terminal you navigate to the folder where you downloaded the tarball. Then execute the following command:
Code:
tar -jxvf firefox-21.0.tar.bz2
This will create a folder called "firefox/" and extract all the files to that folder. Then using sudo or as root you move the firefox folder to an appropriate place. I move it to /opt so the command would be
Code:
mv firefox/ /opt
(or replace "/opt" the the folder you want to move it to).
ciao,
jdk
 
Old 05-15-2013, 04:35 AM   #3
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Original Poster
Rep: Reputation: Disabled
Dear Jdk,
I have done it. first i have extracted the tar.bz2 using the mentioned and i have moved the firefox folder to /opt folder but still the is not updated i have closed during the installation process after that i opened it. its getting open with the older version.
 
Old 05-15-2013, 05:03 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,412

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
Another way is to add a repository like epel or rpmforge and try install through yum command.
You can checkout this link - http://www.if-not-true-then-false.co...omment-page-2/

Last edited by Satyaveer Arya; 05-15-2013 at 05:05 AM.
 
Old 05-15-2013, 06:10 AM   #5
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Original Poster
Rep: Reputation: Disabled
Hi Satyaveer,
I tried this one also still the same issue... is there any other way to update the browser???
 
Old 05-15-2013, 06:12 AM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,412

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
where do you lack? show us the error you are getting.

Last edited by Satyaveer Arya; 05-15-2013 at 06:14 AM.
 
Old 05-15-2013, 07:58 AM   #7
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,418

Rep: Reputation: Disabled
Quote:
Originally Posted by arun.ee1988 View Post
Dear Jdk,
I have done it. first i have extracted the tar.bz2 using the mentioned and i have moved the firefox folder to /opt folder but still the is not updated i have closed during the installation process after that i opened it. its getting open with the older version.
How did you open "it" originally? what command did you give? (I assume "it"=Firefox). How do you open it now? What was the original version of FFx? What is the new version?
jdk
 
Old 05-15-2013, 02:07 PM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 12,608

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
RHEL5 ?
5 point what
5.0,5.1,5.2 ---- to -- 5.9

that prebuilt firefox is ment to go into it's own folder ( as per above)
BUT
the older rhel5 series has firefox 3.6 built into the system
/usr/bin/firefox
/usr/lib/firefox
/usr/lib/browser-plugins
-- or --
/usr/lib/mozilla/plugins

you need to manually configure the os to use the prebuilt FF 21

Warning:
uninstall firefox using yum FIRST

Code:
su -
yum remove firefox

for example if you place the ff12 "firefox" folder in /opt
you need to set the $PATH to this folder
system wide this is set in "/etc/profile"
there will be a section near the top that looks like this
Code:
pathmunge () {
    case ":${PATH}:" in
        *:"$1":*)
            ;;
        *)
            if [ "$2" = "after" ] ; then
                PATH=$PATH:$1
            else
                PATH=$1:$PATH
            fi
    esac
}
add the location to it
Code:
pathmunge () {
    case ":${PATH}:" in
        *:"$1":*)
            ;;
        *)
            if [ "$2" = "after" ] ; then
                PATH=$PATH:/opt/firefox:$1
            else
                PATH=$1:$PATH
            fi
    esac
}
then reboot
you might also need to manually link the plugins from
/usr/lib/browser-plugins
-- or --
/usr/lib/mozilla/plugins
to /opt/firefox/plugins


For the inexperienced it is A LOT easier to use the rpmforge repo that was provided above in post #4
 
Old 05-16-2013, 01:54 AM   #9
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Original Poster
Rep: Reputation: Disabled
Please find the version below
redhat-release-5Server-5.0.0.9
 
Old 05-17-2013, 02:47 AM   #10
arun.ee1988
Member
 
Registered: Jul 2012
Location: Bangalore
Distribution: RHEL 5
Posts: 34

Original Poster
Rep: Reputation: Disabled
Hi All,
I just followed the instructions to install the FF 21 from the . As per the instructions i just downloaded the latest version FF 21 and copied in the tmp folder after i extracted the file in to the opt folder with the cmd (tar -jxvf firefox-21.0.tar.bz2 -C /opt) then i got the firefox folder in the opt. then i executed the cmd (/opt/firefox/firefox) to open the file but i am getting the below error.
[root@Server ~]# /opt/firefox/firefox
XPCOMGlueLoad error for file /opt/firefox/libxpcom.so:
libxul.so: cannot open shared object file: No such file or directory
 
Old 05-17-2013, 04:09 AM   #11
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,418

Rep: Reputation: Disabled
You need to install the xulrunner package.
ciao,
jdk
 
  


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
Is Mozilla Firefox pre installed in RHEL 6/5/4? dinesh8642 Linux - Software 5 05-11-2013 05:07 AM
[SOLVED] how to update mozilla firefox in RHEL6 sunil80 Linux - Newbie 7 03-18-2013 03:16 AM
[SOLVED] How to update Mozilla firefox in linux gpleah Linux - Newbie 34 02-22-2011 07:45 AM
Mozilla crash after Firefox update Twingo MEPIS 11 02-11-2011 03:02 AM
how to update mozilla firefox saroj_alive Linux - Software 3 07-26-2009 02:49 PM


All times are GMT -5. The time now is 04:33 AM.

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