LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to update Mozilla firefox in Linux RHEL 5 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-update-mozilla-firefox-in-linux-rhel-5-a-4175462054/)

arun.ee1988 05-15-2013 04:04 AM

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.

jdkaye 05-15-2013 04:14 AM

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

arun.ee1988 05-15-2013 04:35 AM

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.

Satyaveer Arya 05-15-2013 05:03 AM

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/

arun.ee1988 05-15-2013 06:10 AM

Hi Satyaveer,
I tried this one also still the same issue... is there any other way to update the browser???

Satyaveer Arya 05-15-2013 06:12 AM

where do you lack? show us the error you are getting.

jdkaye 05-15-2013 07:58 AM

Quote:

Originally Posted by arun.ee1988 (Post 4951564)
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

John VV 05-15-2013 02:07 PM

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

arun.ee1988 05-16-2013 01:54 AM

Please find the version below
redhat-release-5Server-5.0.0.9

arun.ee1988 05-17-2013 02:47 AM

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

jdkaye 05-17-2013 04:09 AM

You need to install the xulrunner package.
ciao,
jdk


All times are GMT -5. The time now is 08:59 AM.