LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-30-2007, 02:25 PM   #1
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Setting 32bit Firefox to default on RHEL5 x86_64 ?


I'm setting up an RHEL5 x86_64 for a client who needs certain plugins to work with Firefox, and these plugins only work with 32-bit Firefox.

Now I'm aware of nspluginwrapper, but it isn't part of the "official" package set, and this client will be doing their own updates via yum.

So the workaround I came up with is to set /usr/bin/firefox to launch the 32-bit version of Firefox rather than the 64-bit. I decided to do this, because anything that launches Firefox will surely do so via /usr/bin/firefox.

The steps:
Code:
cp /usr/bin/firefox /usr/bin/firefox.64bit
sed 's/lib64/lib/g' /usr/bin/firefox.64bit /usr/bin/firefox.32bit
ln -s /usr/bin/firefox.32bit /usr/bin/firefox

Add the line "exclude=firefox" (w/o quotes) to /etc/yum.conf.
Now this works, but it also stops the client from getting security updates for Firefox, so it isn't optimal.

Any better suggestions or ideas? I really don't care to start enabling 3rd-party repos to use nspluginwrapper. I also have zero experience with nspluginwrapper. I'm also very open to suggestions here
 
Old 04-30-2007, 04:06 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Yes, the simple way.....remove the 64bit version of firefox and leave the 32bit version in place.

rpm -e firefox-<version number>.x86_64

I done this myself for the past year and a half with no problems. One needs to specify in the /etc/yum.conf file only to exclude the 64bit version of firefox, for example;

exclude=firefox.x86_64
 
Old 04-30-2007, 04:09 PM   #3
vtel57
Member
 
Registered: Jul 2006
Location: Tampa, FL, USA
Distribution: Slackware64
Posts: 835

Rep: Reputation: 88
I run 32 bit FF in all my distros. No troubles at all.
 
Old 04-30-2007, 04:11 PM   #4
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Lenard
Yes, the simple way.....remove the 64bit version of firefox and leave the 32bit version in place.

rpm -e firefox-<version number>.x86_64

I done this myself for the past year and a half with no problems. One needs to specify in the /etc/yum.conf file only to exclude the 64bit version of firefox, for example;

exclude=firefox.x86_64
Ah, cool... I didn't know I could specify 'exclude' by version. I'll play with it Wednesday. Thanks for the info.
 
  


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
Install RedHat x86_64 ES in 32bit Mode Gawan Red Hat 3 10-04-2010 03:55 PM
Setting Firefox as default browser? mhl Linux - Software 3 11-24-2006 08:34 AM
Setting default mailer in Firefox - How? Kevin Tough Linux - Software 3 07-07-2006 03:15 AM
Replace 64bit X with 32bit X on FC4 x86_64 rosholm Fedora 1 10-20-2005 07:01 PM
32bit X on x86_64 kernel? rosholm Linux - Software 4 10-20-2005 10:38 AM


All times are GMT -5. The time now is 01:57 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