LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora - Installation (http://www.linuxquestions.org/questions/fedora-installation-39/)
-   -   installing 32bit firefox on 64bit fedora 4 (http://www.linuxquestions.org/questions/fedora-installation-39/installing-32bit-firefox-on-64bit-fedora-4-a-345264/)

status0 07-21-2005 01:41 AM

installing 32bit firefox on 64bit fedora 4
 
Hi,

I'm a linux newbie, and I am having trouble figuring out how to set up YUM to install the 32 bit version of firefox. I can find it manually on freshrpms ect..., but YUM only finds th x64 version.

I have tried installing the firefox i386 rpm manually, but have dependency issues.

can someone step me through setting up YUM to work with 32bit repositories?

Cheers

jcliburn 08-07-2005 09:42 AM

Here's how I got java plugins to work with Firefox on my FC4 x86_64 system.

First, remove the x86_64 version of Firefox.
Code:

# yum remove firefox
Next, add a repo for the i386 packages.
Code:

gedit /etc/yum.repos.d/base-i386
Edit the file to contain this.
Code:

[base-i386]
name=base-i386
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/
gpgcheck=1
enabled=0

Now get firefox.i386 and its dependencies.
Code:

# yum --enablerepo=base-i386 install firefox.i386
Start firefox and get jre-1_5_0_04-linux-i586.bin from Sun's java site. cd to the directory that contains your downloaded java bin. Make a directory in /opt called java and install the jre bin there. Install it and link the plugin. Here are the steps.
Code:

# <cd_to_the_download_dir>
# mkdir /opt/java
# cp jre-1_5_0_04-linux-i586.bin /opt/java
# cd /opt/java
# sh ./jre-1_5_0_04-linux-i586.bin
# cd /usr/lib/firefox/plugins
# ln -s /opt/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so .

Kill Firefox and restart it. Enter "about:plugins" in the Firefox address bar and you should see the java plugins.

spooon 08-09-2005 04:35 PM

Do you have a 32-bit or 64-bit machine? If you have a 64-bit machine, then why do you want the 32-bit version of Firefox?

jcliburn 08-10-2005 07:51 AM

Quote:

Originally posted by spooon
Do you have a 32-bit or 64-bit machine? If you have a 64-bit machine, then why do you want the 32-bit version of Firefox?
There is no 64-bit version of the Sun java plugin. If you're running a 64-bit OS, in order to have a java browser plugin you need a 32-bit browser. A 32-bit plugin won't work with a 64-bit browser.

Blackdown has a 64-bit java plugin, but I personally couldn't get it to work.

spooon 08-10-2005 04:04 PM

By the way, I just read in the yum manpage that you can specify packages as "name.arch", so maybe you could do "yum install firefox.i386" ? I dunno; just a suggestion.

jcliburn 08-10-2005 05:26 PM

Quote:

Originally posted by spooon
By the way, I just read in the yum manpage that you can specify packages as "name.arch", so maybe you could do "yum install firefox.i386" ? I dunno; just a suggestion.
Unless you've specified a yum repo that contains the package <name>.<arch>, yum won't find the package. For example, if you use the default x86_64 repos, there is no firefox.i386 package for yum to install or update.

tek1024 12-21-2005 02:46 PM

Quote:

Next, add a repo for the i386 packages.
Code:

gedit /etc/yum.repos.d/base-i386
Just a caveat on my (FC4 x86_64) system, the name of that file had to be "fedora-base-i386.repo". (Maybe that was understood, and I missed it.) The contents were perfect, though. Thanks for the info! :D

timscof 06-06-2006 10:29 AM

i386 updates repository
 
You'll also want to add a repository for the i386 updates. (I know it's obvious, and I quickly figured it out when I couldn't install packages due to version conflicts)

::::::::::::::
fedora-updates-i386.repo
::::::::::::::
Code:

[updates-i386]
name=Fedora Core $releasever - i386 - Updates
baseurl=3post//download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/
#mirrorlist=3post//fedora.redhat.com/download/mirrors/updates-released-fc$releas
ever
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GP
G-KEY

You'll need to change "3post" to "http:" due to spam controls on this site

Becca Bunny 07-22-2006 10:24 AM

help!
 
Im am really very new at this and have never used the editor before. I followed the step by step instructions and Im getting this error message:

root@lagomorphia ~]# yum --enablerepo=base-i386 install firefox.i386
Loading "installonlyn" plugin


Error getting repository data for base-i386, repository not found
[root@lagomorphia ~]#


Also here is a copy of my Bash repo thingy

[updates-i386]
name=Fedora Core $releasever - i386 - Updates
baseurl=dttp3://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/
#mirrorlist=dttp3://fedora.redhat.com/download/mirrors/updates-released-fc$releas
ever
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GP
G-KEY


Im running Fedora 5 64 Bit Bordeaux...

Any help anyone could offer would be much appreciated. Im a total newbie but trying to learn :) I changed up the http to dttp3 so it would let me post. :)

Thank you!

Becca Bunny

jcliburn 07-22-2006 10:32 AM

Follow the instructions here:

http://forums.fedoraforum.org/showthread.php?t=102143

Becca Bunny 07-23-2006 06:02 PM

Ok....

I got Firefox working with Flash... YAY! Now the bad news, it seems it has totally killed gnome :( Im running in KDE right now and thats ok, Kde is a neat little gui but I cant login as root anymore. I tried reinstalling gnome but now im getting library conflicts and stuff and IM quite lost.... Im ok with gnome being gone, the biggest deal is I really need gui root access becasue its been the only way I can get things installed properly and stuffs. Additonaly, my mozilla thunderbird seems to have disappered but is still showing as installed... total weridness.

I realize that I proably appear pretty ignorant about this time and I admit that I am, but I am trying to learn and any help anyone could give me would be much appreciated.

Thank you!

Becca Bunny

jcliburn 07-24-2006 08:16 AM

You should avoid logging in as root. A better practice is to login as yourself, then "su" to root with the command "su -" (don't forget the "-"). If you're using graphical tools that need root access, you'll be prompted for the password.

If you want to restore gnome, you need to provide more details about the problem, like what happens when you login; do you get a desktop; does the mouse work; are there any illuminating messages in /var/log/messages or /var/log/Xorg.log; and so on.

As for thunderbird, open a terminal window and type "thunderbird" at the command line. What happens?

Becca Bunny 07-25-2006 04:47 AM

Thank you all for the help. I solved the situation by taking the easy way out, I went to a 32 bit version of Fedora. I liked 64 bit but theres just alot not yet supported.

Thanks all!

Becca Bunny

robgobblin 08-29-2006 01:42 PM

Rather than abandoning x_64, you could reinstall the whole gnome package with both i386 and x_64 libs, THEN install only firefox.i386, this will allow you to use 32-bit firefox and plug-ins and still use 64-bit apps when available.


All times are GMT -5. The time now is 11:41 PM.