LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-26-2014, 02:08 AM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Centos and Firefox


Hi:

I just installed CentOS 7 and read most of the documentation.

The current version of FF I have is 24 with this fresh install.

I've been to these 2 tuturials to update firefox and I'm attempting to upgrade to Firefox 30.

http://www.tecmint.com/install-firef...-fedora-17-16/
http://tecadmin.net/install-firefox-on-linux/

Code:
[bluecat@localhost ~]$ su
Password: 
[root@localhost bluecat]# # wget Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
[root@localhost bluecat]# # rpm -Uvh epel-release-6-8.noarch.rpm
[root@localhost bluecat]# # yum --enablerepo=remi list firefox
[root@localhost bluecat]# # yum --enablerepo=remi install firefox
[root@localhost bluecat]# 
[root@localhost bluecat]# yum list firefox
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.someimage.com
 * extras: mirror.wiredtree.com
 * updates: centos.someimage.com
Installed Packages
firefox.x86_64                   24.7.0-1.el7.centos                    @updates
Available Packages
firefox.i686                     24.7.0-1.el7.centos                    updates 
[root@localhost bluecat]#
Is it better to go and obtain the FF 30 tar.bz?
 
Old 07-26-2014, 07:34 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
It is if you want to try to install firefox 30.

Currently, there is no upgrade path, at least not one I'm aware of.
BTW, since this is Cent, it's going to be much easier for you if you can find the rpm and then run "yum localinstall rpmfile" rather than trying to compile from source

Last edited by dijetlo; 07-26-2014 at 07:35 AM.
 
1 members found this post helpful.
Old 07-26-2014, 11:29 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Thanks; dijetlo-

I hope that I can find the rpm:-

CentOS is very nice.
 
Old 07-26-2014, 12:10 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
I have been using the tarball for YEARS and have not had any issues on Centos /SL 5.1 through 6.5

and on 64 bit OS's the 64 bit tar works great
the 64 bit is here
https://ftp.mozilla.org/pub/mozilla..../linux-x86_64/
 
1 members found this post helpful.
Old 07-26-2014, 12:16 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by John VV View Post
I have been using the tarball for YEARS and have not had any issues on Centos /SL 5.1 through 6.5

and on 64 bit OS's the 64 bit tar works great
the 64 bit is here
https://ftp.mozilla.org/pub/mozilla..../linux-x86_64/
Thanks John!

Just downloaded it-
 
Old 07-26-2014, 12:54 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I am not very good with tar balls.

What's wrong?

Code:
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[root@localhost bluecat]# cd Downloads
[root@localhost Downloads]# ls
firefox-31.0.tar.bz2
[root@localhost Downloads]# tar -jxvf firefox-31.0.tar.bz2
firefox/
firefox/omni.ja
firefox/libnssckbi.so
firefox/precomplete
firefox/libnss3.so
firefox/plugin-container
firefox/libnssutil3.so
firefox/mozilla-xremote-client
firefox/update-settings.ini
firefox/libssl3.so
firefox/firefox
firefox/crashreporter
firefox/platform.ini
firefox/libsoftokn3.so
firefox/webapprt/
firefox/webapprt/omni.ja
firefox/webapprt/webapprt.ini
firefox/libmozsqlite3.so
firefox/libsoftokn3.chk
firefox/run-mozilla.sh
firefox/libfreebl3.so
firefox/libplc4.so
firefox/webapprt-stub
firefox/components/
firefox/components/libmozgnome.so
firefox/components/libdbusservice.so
firefox/components/components.manifest
firefox/libmozalloc.so
firefox/dependentlibs.list
firefox/libnspr4.so
firefox/libfreebl3.chk
firefox/libnssdbm3.chk
firefox/libxul.so
firefox/chrome.manifest
firefox/firefox-bin
firefox/Throbber-small.gif
firefox/removed-files
firefox/libplds4.so
firefox/updater
firefox/browser/
firefox/browser/extensions/
firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/
firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/icon.png
firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
firefox/browser/omni.ja
firefox/browser/blocklist.xml
firefox/browser/chrome/
firefox/browser/chrome/icons/
firefox/browser/chrome/icons/default/
firefox/browser/chrome/icons/default/default48.png
firefox/browser/chrome/icons/default/default32.png
firefox/browser/chrome/icons/default/default16.png
firefox/browser/searchplugins/
firefox/browser/searchplugins/bookplus-fi.xml
firefox/browser/searchplugins/eBay-fi.xml
firefox/browser/searchplugins/yahoo-fi.xml
firefox/browser/searchplugins/wikipedia-fi.xml
firefox/browser/searchplugins/google.xml
firefox/browser/searchplugins/bing.xml
firefox/browser/crashreporter-override.ini
firefox/browser/components/
firefox/browser/components/libbrowsercomps.so
firefox/browser/components/components.manifest
firefox/browser/chrome.manifest
firefox/browser/icons/
firefox/browser/icons/mozicon128.png
firefox/application.ini
firefox/icons/
firefox/icons/updater.png
firefox/updater.ini
firefox/libnssdbm3.so
firefox/crashreporter.ini
firefox/defaults/
firefox/defaults/pref/
firefox/defaults/pref/channel-prefs.js
firefox/libsmime3.so
[root@localhost Downloads]# ./configure
bash: ./configure: No such file or directory
[root@localhost Downloads]#
I looked 3 times BTW and there isn't a Install or Read Me file-

Last edited by Ztcoracat; 07-26-2014 at 12:58 PM.
 
Old 07-26-2014, 01:06 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well you do need to switch cent from using the default rpm to the tarbal
BUT the tarball will AUTO update there is no need to reinstall to get newer versions

DO NOT YET uninstall the default firefox ( or if you have KDE installed konquerer is there or iceweasel )

for a redhat system

1)extract the archive
2) copy to say /opt/firefox

3) add the new install location to "/etc/profile"
-- a code snippet from MINE
Code:
pathmunge () {
    case ":${PATH}:" in
        *:"$1":*)
            ;;
        *)
            if [ "$2" = "after" ] ; then
                PATH=$PATH:/usr/lib64/pkgconfig:/usr/lib64:/mnt/DATA/SL6/firefox:/mnt/DATA/cspice/exe:/mnt/DATA/cspice/lib:/mnt/DATA/cspice/include:/mnt/DATA/SL6/isis_3/StereoPipeline-2.0.0-x86_64-Linux/bin:$1
            else
                PATH=$1:$PATH
            fi
    esac
}
just use YOUR new firefox location

4)
reboot
5)
then cd into the new firefox folder and run
Code:
./firefox
it should work and find the plugins in "/usr/lib64/mozilla/plugins/"
if not
( some work is needed )
link them to the new location
for this you will need to make a new folder in the new firefox folder

make a new folder in the firefx folder
"browser"
and in that folder make "plugins"
link the plugins to that

then the menu launcher
/usr/share/applications
-- and the "mozilla-firefox.desktop " or whatever it's name is
make a copy and rename it
then edit it for the new location

Last edited by John VV; 07-26-2014 at 01:10 PM.
 
Old 07-26-2014, 10:55 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
well you do need to switch cent from using the default rpm to the tarbal
I don't know how to accomplish that for now.
I'm in the process of reading the RHEL Documentation and using Google to learn:-

Quote:
2) copy to say /opt/firefox
Do you mean after I untar create a new file named 'firefox' and paste those files in there?
 
Old 07-26-2014, 11:14 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the default rpm is spread all over the system

the tarbal is a "self contained " folder with almost everything needed
( the cent plugins are not in it )
BUT it should just auto find them all on it's own .

you just need to place it someplace

some leave it in there $HOME folder
I install it system wide

the normally used folder on rhel/cent/sl is "/opt"
kde3 and libreoffice and a few other things install there . It is as good a place as any .

then you need to tell the system ABOUT the new folder
that is where editing the /etc/profile file comes in
( and there are other ways to do that )
that is where this bit comes in
adding that location to the system $PATH
Code:
PATH=$PATH:/opt/firefox:$1
then reboot

then when you run this command
Code:
echo $PATH
that location WILL be there

then once the new firefox is working
you can then UNINSTALL the rpm
Code:
su -
yum remove firefox
--- or the name might be ---
yum remove mozilla-firefox
the geko and media and flash plugins " SHOULD" be auto found
if not

then a bit more work ( about 1 minutes worth of work )
 
Old 07-27-2014, 12:40 AM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I put the tar file in my Home directory and took a screenshot of the /etc/profile and what I what to edit.
I didn't save the changes because I'm having trouble understanding PATH+$PATH (if it should be named differently)
Centos is nothing like Fedora that I use to run-

http://s1052.photobucket.com/user/Ul...nhome.png.html
http://s1052.photobucket.com/user/Ul...13052.png.html
 
Old 07-27-2014, 01:37 AM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
near the beginning of my ScientificLinux 6.5 profile text file
Code:
pathmunge () {
    case ":${PATH}:" in
        *:"$1":*)
            ;;
        *)
            if [ "$2" = "after" ] ; then
                PATH=$PATH:/opt/firefox:$1
            else
                PATH=$1:$PATH
            fi
    esac
}
and there is NO need for the 30 in the name

firefox will AUTO upgrade to 31 , then 32 , then33

there are other ways of adding a location to the system path
any of them will work

like creating a custom shell script and placing it in "/etc/profile.d/"

all you have to do is add the location , so that the system can find it
 
Old 07-27-2014, 03:27 AM   #12
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
CentOS is very nice.
It is of the devil but I have to bring work home these days so I had to install it on my main workstation.
I wept for days, it just felt so... wrong....


Quote:
I hope that I can find the rpm:-
It's in the remi repository, however they are only listing firefox 26 (which is an improvement over the Marketing and Design Committees decision that firefox 24 was more than sufficient, and we should just suck on it).
BTW, I think the trick was to throw in a "yum makecache" after installing the repo, but what do I know? I'm just a Slackware zombie marooned in rheltopia....
I'm going to try Johns solution next, if I have any observations about the process, I'll post back.
Did you ever flash that bios?
 
Old 07-27-2014, 02:53 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
and there is NO need for the 30 in the name

firefox will AUTO upgrade to 31 , then 32 , then33
Got it. I renamed it 'firefox'

Quote:
all you have to do is add the location , so that the system can find it
Here's what I did-
http://s1052.photobucket.com/user/Ul...nnano.png.html

Saved the changes now I'm rebooting....
 
Old 07-27-2014, 03:04 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Code:
[bluecat@localhost ~]$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/firefox::/home/bluecat/.local/bin:/home/bluecat/bin
[bluecat@localhost ~]$
Quote:
that location WILL be there
It is.
I tried "./configure" at the prompt-
Quote:
[bluecat@localhost ~]$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/firefox::/home/bluecat/.local/bin:/home/bluecat/bin
[bluecat@localhost ~]$ ./configure
bash: ./configure: No such file or directory
[bluecat@localhost ~]$

Thanks for staying with me John! I don't understand:-

Last edited by Ztcoracat; 07-27-2014 at 03:16 PM.
 
Old 07-27-2014, 04:04 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
"/home/firefox"
????

if you are going to put it in YOUR home folder then do so

/home/bluecat/firefox

you need the location to that folder in the system path
so the system can find the "firefox" binary executable file
"/home/bluecat/firefox/firefox"
 
1 members found this post helpful.
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox is not working in my centos 6.4 masju Linux - Newbie 4 11-22-2013 04:53 PM
CentOS 6.2 Firefox Help anotherusr Linux - Software 13 11-28-2012 08:38 AM
firefox on centos timl Red Hat 3 04-06-2010 02:39 AM
updating firefox in centos 5 wangberg Linux - Software 5 07-25-2007 03:37 PM
CentOS 4.2 Java and Firefox winchester169 Linux - Software 1 12-01-2005 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:15 AM.

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