个人工具

“UbuntuHelp:AMD64/FirefoxAndPlugins”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:AMD64/FirefoxAndPlugins}}
 
{{Languages|UbuntuHelp:AMD64/FirefoxAndPlugins}}
 
== Introduction ==
 
== Introduction ==
With the release of Hardy Heron it is possible to use the 64bit browser. Flash with the nspluginwrapper, the java Openjdk and Mplayer plugins are in the Ubuntu repositories.  
+
With the release of Hardy Heron it is possible to use the 64-bit browser, Flash (with the nspluginwrapper), Java OpenJDK, and [[UbuntuHelp:MPlayer|MPlayer]] plugins from the Ubuntu repositories.
If you need support for more plugins and would like to install a 32bit version of firefox to accomplish that, then see the section [[UbuntuHelp:[32bit|below]]]. If you want to keep using your 64bit browser and just need flash, then see the [[UbuntuHelp:[nspluginwrapper|nspluginwrapper]]] section further down in this page which will allow you to run your 64bit browser and 32bit flash.
+
If you need support for more plugins and would like to install a 32-bit version of Firefox to accomplish that, then see the section [[UbuntuHelp:[32-bit|below]]].
<<Anchor(32bit)>>
+
A 64-bit version from Adobe is under development, and the latest release can be downloaded from [http://labs.adobe.com/technologies/flashplayer10/ Adobe labs]. As of January 17th it is still in alpha testing stage, but is actually very stable for the common needs, as long as you don't need to use microphone or webcam with it. So it is the less painfull way as you can install the 64-bit flash plugin as you do in the old-style way in 32bits environments for the flash 32-bit plugin.
== 32bit Firefox and plugins ==
+
== 64-bit Firefox and 64-bit Flash plugin ==
The following technique is a painless way install 32bit Firefox and proprietary 32 bit binary plug-ins into your Ubuntu amd64 bit installation.  It is accomplished ''without'' the complexity of establishing a 32 bit chroot environment.
+
<ol><li>Remove currently installed versions of Flash.</li></ol>
 +
 
 +
<pre><nowiki>
 +
sudo apt-get purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash nspluginwrapper swfdec-mozilla
 +
</nowiki></pre>
 +
<ol><li>Visit [http://labs.adobe.com/downloads/flashplayer10.html] to update the filename given under if necessary.
 +
</li><li>Download the 64-bit Flash plugin and extract it:</li></ol>
 +
 
 +
<pre><nowiki>
 +
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz && tar xvfz libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
 +
</nowiki></pre>
 +
<ol><li>Move the file in /usr/lib/mozilla/plugins for a site-wide install (or in ~/.mozilla/plugins for a single-user install):</li></ol>
 +
 
 +
<pre><nowiki>
 +
sudo mv libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
 +
</nowiki></pre>
 +
At this stage, you should restart Firefox and verify that the plugin is installed properly by typing about:plugins in the URL bar.
 +
<<Anchor(32-bit)>>
 +
== 32-bit Firefox and plugins ==
 +
The following technique is a painless way install 32-bit Firefox and proprietary 32-bit binary plug-ins into your Ubuntu amd64-bit installation.  It is accomplished ''without'' the complexity of establishing a 32-bit chroot environment.
 
=== Installing Firefox ===
 
=== Installing Firefox ===
 
==== Introduction ====
 
==== Introduction ====
The following documentation describes steps to installation of 32 bits version of firefox on a 64 bits systems. In the following tutorial firefox will be installed int /usr/local/firefox32 dans a script called firefox32 to run firefox will be created in /usr/local/bin.
+
The following documentation describes steps to installation of 32-bit version of Firefox on a 64-bit systems. In the following tutorial Firefox will be installed int /usr/local/firefox32 dans a script called firefox32 to run Firefox will be created in /usr/local/bin.
 
==== Installing 32 Bit Emulation Libraries ====
 
==== Installing 32 Bit Emulation Libraries ====
Before you can use the 32-bit version of Firefox you need to install the fundamental libraries for 32 bit support under 64 bit native Linux. Open a terminal and install these (older Ubuntu versions):
+
Before you can use the 32-bit version of Firefox you need to install the fundamental libraries for 32-bit support under 64-bit native Linux. Open a terminal and install the following:
<pre><nowiki>
+
sudo apt-get install ia32-libs ia32-libs-gtk lib32asound2 linux32
+
</nowiki></pre>
+
If you are using Ubuntu 8.04 (Hardy Heron) instead use the command:
+
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install ia32-libs lib32asound2 util-linux
 
sudo apt-get install ia32-libs lib32asound2 util-linux
 
  </nowiki></pre>
 
  </nowiki></pre>
==== Installing 32 Bit Edition of Firefox ====
+
==== Installing 32-bit Edition of Firefox ====
<ol><li>Download the installation gzip from [http://www.getfirefox.com Get Firefox] or - if you want more version choices - from [http://releases.mozilla.org/pub/mozilla.org/firefox/releases/]
+
<ol><li>Download the latest release from [http://www.getfirefox.com Get Firefox] or - if you want more version choices - from [http://releases.mozilla.org/pub/mozilla.org/firefox/releases/]
</li><li>Open a terminal, and navigate to the directory where you saved it to. Extract the tarball and move it (adjust the file name as needed):</li></ol>
+
</li><li>Open a terminal and navigate to the directory where you saved it to. Extract and move it (adjust the file name as needed):</li></ol>
  
 
<pre><nowiki>
 
<pre><nowiki>
tar -zxf firefox-2.0.0.14.tar.gz
+
tar -zxf firefox-3.0.9.tar.bz2
sudo mv firefox /usr/local/firefox32
+
sudo mv firefox/ /usr/local/firefox32/
 
   </nowiki></pre>
 
   </nowiki></pre>
 
<ol><li>Next we must setup some minor font details.</li></ol>
 
<ol><li>Next we must setup some minor font details.</li></ol>
第35行: 第50行:
 
Create the environment variable file for pango32 and open it for editing:
 
Create the environment variable file for pango32 and open it for editing:
 
<pre><nowiki>
 
<pre><nowiki>
gksudo gedit /etc/pango32/pangorc &
+
sudo nano /etc/pango32/pangorc &
  </nowiki></pre>
+
Or if on '''Kubuntu''':
+
<pre><nowiki>
+
kdesu kate /etc/pango32/pangorc &
+
 
   </nowiki></pre>
 
   </nowiki></pre>
 
Then paste the script into the editor:
 
Then paste the script into the editor:
第49行: 第60行:
 
   </nowiki></pre>
 
   </nowiki></pre>
 
Save the file and close the editor.
 
Save the file and close the editor.
<ol><li>Finally, create a small script to setup the environment variables and launch our 32 bit version of Firefox.</li></ol>
+
<ol><li>Finally, create a small script to setup the environment variables and launch our 32-bit version of Firefox.</li></ol>
  
 
<pre><nowiki>
 
<pre><nowiki>
gksudo gedit /usr/local/bin/firefox32 &
+
sudo nano /usr/local/bin/firefox32 &
  </nowiki></pre>
+
Or for '''Kubuntu''':
+
<pre><nowiki>
+
kdesu kate /usr/local/bin/firefox32 &
+
 
   </nowiki></pre>
 
   </nowiki></pre>
 
Copy and paste the shell script instructions below:
 
Copy and paste the shell script instructions below:
第71行: 第78行:
 
sudo chmod +x /usr/local/bin/firefox32
 
sudo chmod +x /usr/local/bin/firefox32
 
   </nowiki></pre>
 
   </nowiki></pre>
<ol><li>At this point, close down all instances of Firefox that you might have running. Firefox will spawn new versions of Firefox based upon any current versions you have running. This means that if you wish to load the 32 bit version, you must make certain that you have ''no'' instances of the 64 bit version running, and vice versa. Once you have closed all instances of Firefox (including the one in which you are probably reading this), test the executable with the following command in a terminal:</li></ol>
+
<ol><li>At this point, close down all instances of Firefox that you might have running. Firefox will spawn new versions of Firefox based upon any current versions you have running. This means that if you wish to load the 32-bit version, you must make certain that you have ''no'' instances of the 64-bit version running, and vice versa. Once you have closed all instances of Firefox (including the one in which you are probably reading this), test the executable with the following command in a terminal:</li></ol>
  
 
<pre><nowiki>
 
<pre><nowiki>
第104行: 第111行:
 
To move flash into the Firefox Plug-ins folder, from where Firefox will be able to run it. Now simply restart Firefox, and your Flash will be working!
 
To move flash into the Firefox Plug-ins folder, from where Firefox will be able to run it. Now simply restart Firefox, and your Flash will be working!
 
===== Java =====
 
===== Java =====
<ol><li>To install the Java applet plugin for 32 bit Firefox, open a Terminal (Applications - Accessories), and copy/paste these commands into it:</li></ol>
+
<ol><li>To install the Java applet plugin for 32-bit Firefox, open a Terminal (Applications - Accessories), and copy/paste these commands into it:</li></ol>
  
 
<pre><nowiki>
 
<pre><nowiki>
第114行: 第121行:
 
sudo ln -s /usr/lib/jvm/ia32-java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/local/firefox32/plugins/
 
sudo ln -s /usr/lib/jvm/ia32-java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/local/firefox32/plugins/
 
   </nowiki></pre>
 
   </nowiki></pre>
This'll install a link within the Firefox 32 bit edition plugins directory and the Java applet. Now simply restart Firefox, and your Java will be working!
+
This'll install a link within the Firefox 32-bit edition plugins directory and the Java applet. Now simply restart Firefox, and your Java will be working!
 
===== RealPlayer =====
 
===== RealPlayer =====
 
<ol><li>Download the installation package from [http://forms.real.com/real/player/download.html?f=unix/RealPlayer10GOLD.bin&product=playerplus&system=linux&pageid=unagi.8902005&pageregion=A1&src=realhome_linux_bb_0_3_1_0_0_1_0&pcode=rn&opage=realhome_linux_bb the RealPlayer website].
 
<ol><li>Download the installation package from [http://forms.real.com/real/player/download.html?f=unix/RealPlayer10GOLD.bin&product=playerplus&system=linux&pageid=unagi.8902005&pageregion=A1&src=realhome_linux_bb_0_3_1_0_0_1_0&pcode=rn&opage=realhome_linux_bb the RealPlayer website].
第128行: 第135行:
 
sudo mv RealPlayer /usr/local/realplayer32
 
sudo mv RealPlayer /usr/local/realplayer32
 
   </nowiki></pre>
 
   </nowiki></pre>
<ol><li>Link the appropriate files to your Firefox 32 bit plug-in directory:</li></ol>
+
<ol><li>Link the appropriate files to your Firefox 32-bit plug-in directory:</li></ol>
  
 
<pre><nowiki>
 
<pre><nowiki>
第161行: 第168行:
 
<ol><li>Click '''Close'''.</li></ol>
 
<ol><li>Click '''Close'''.</li></ol>
  
==== Create a Firefox 32 Bit Menu Launcher ====
+
==== Create a Firefox 32-bit Menu Launcher ====
 
<ol><li>Add a menu item or panel item.  Choose a suitable icon.
 
<ol><li>Add a menu item or panel item.  Choose a suitable icon.
 
</li><li>Under the <code><nowiki> command </nowiki></code> entry, simply type firefox32.
 
</li><li>Under the <code><nowiki> command </nowiki></code> entry, simply type firefox32.
第178行: 第185行:
 
cat firefox-form-widgets/res/forms-extra.css | sudo tee --append /usr/local/firefox32/res/forms.css > /dev/null
 
cat firefox-form-widgets/res/forms-extra.css | sudo tee --append /usr/local/firefox32/res/forms.css > /dev/null
 
sudo cp -r firefox-form-widgets/res/form-widgets /usr/local/firefox32/res
 
sudo cp -r firefox-form-widgets/res/form-widgets /usr/local/firefox32/res
</nowiki></pre>  
+
</nowiki></pre>
 
==== Troubleshooting ====
 
==== Troubleshooting ====
 
'''For suggestions/discussion please use [[UbuntuHelp:AMD64/FirefoxAndPlugins/talk|AMD64/FirefoxAndPlugins/talk]]'''
 
'''For suggestions/discussion please use [[UbuntuHelp:AMD64/FirefoxAndPlugins/talk|AMD64/FirefoxAndPlugins/talk]]'''
* A recent upgrade to Feisty development has shown that Firefox 32 bit edition may not connect to the net under certain circumstances.
 
<ol><li>If you are running Feisty, when you load your Firefox 32 bit edition as per the following instructions, enter "about:config" into the address bar.
 
</li><li>Type in "ipv6" and switch the setting to disabled by double clicking on the cell.  This should fix the temporary issue on Ubuntu Feisty amd64 (7.04)</li></ol>
 
 
* Currently the Java implementation under Feisty (7.04) may have issues. This also appears to be an IPV4 issue.
 
<ol><li>Execute /usr/local/java32/bin/ControlPanel
 
</li><li>Click tab "Java", then "View..." in "Java Applet Runtime Settings"</li></ol>
 
 
1 . Double-click below "Java Runtime Parameters" and enter  "-Djava.net.preferIPv4Stack=true"
 
 
* [[UbuntuHelp:RealPlayer|RealPlayer]] Issues
 
* [[UbuntuHelp:RealPlayer|RealPlayer]] Issues
You may need add the 32 bit version of [[UbuntuHelp:RealPlayer|RealPlayer]] to your path variable.
+
You may need add the 32-bit version of [[UbuntuHelp:RealPlayer|RealPlayer]] to your path variable.
 
* Alternative Installation Solution
 
* Alternative Installation Solution
 
If the above installation solution did not work for you, there is another solution, requiring the use of WINE.
 
If the above installation solution did not work for you, there is another solution, requiring the use of WINE.
第197行: 第195行:
  
 
<pre><nowiki>
 
<pre><nowiki>
sudo apt-get install ia32-libs lib32asound2  
+
sudo apt-get install ia32-libs lib32asound2
 
   </nowiki></pre>
 
   </nowiki></pre>
This will download the necessary 32 bit binaries for WINE.
+
This will download the necessary 32-bit binaries for WINE.
 
<ol><li>Download the most recent WINE .deb file from http://wine.budgetdedicated.com/archive/index.html. Save the file to your desktop.
 
<ol><li>Download the most recent WINE .deb file from http://wine.budgetdedicated.com/archive/index.html. Save the file to your desktop.
 
</li><li>In terminal enter:</li></ol>
 
</li><li>In terminal enter:</li></ol>
  
 
<pre><nowiki>
 
<pre><nowiki>
cd ~/Desktop  
+
cd ~/Desktop
sudo dpkg --force-architecture -i wine_*_i386.deb  
+
sudo dpkg --force-architecture -i wine_*_i386.deb
 
   </nowiki></pre>
 
   </nowiki></pre>
<ol><li>Download the Mozilla Firefox exe from http://www.mozilla.com/products/download.html?product=firefox-2.0.0.3&os=win&lang=en-GB. Save the file to your desktop.
+
<ol><li>Download the Mozilla Firefox exe from http://www.mozilla.com/products/download.html?product=firefox-3.0.9&os=win&lang=en-US. Save the file to your desktop.
 
</li><li>In terminal enter:</li></ol>
 
</li><li>In terminal enter:</li></ol>
  
 
<pre><nowiki>
 
<pre><nowiki>
cd ~/Desktop  
+
cd ~/Desktop
 
wine firefox*
 
wine firefox*
 
   </nowiki></pre>
 
   </nowiki></pre>
第222行: 第220行:
  
 
/!\ '''NOTE:'''  If you cannot hear any sound with the plugins, open terminal and type "winecfg" and select sound preferences in the audio tab.
 
/!\ '''NOTE:'''  If you cannot hear any sound with the plugins, open terminal and type "winecfg" and select sound preferences in the audio tab.
<<Anchor(nspluginwrapper)>>
 
== Using nspluginwrapper for flash ==
 
This is for users who would like to use 64bit Firefox but want flash.  If you have followed the instructions above, then you already have flash working your 32bit Firefox and probably do not need to do this.
 
=== Gutsy Gibbon 7.10 ===
 
Open Firefox and visit a page that requires flash, for example http://www.adobe.com/products/flash/about/.  Install the plugin by clicking on "Install Missing Plugins..." on the yellow bar at the top of the browser window as in the screenshot below.  The Epiphany browser will use the flash plugin installed from Firefox.
 
/!\ Note that as of February 11, 2008, to use this method you will need to ensure that you have enabled the gutsy-updates repository in Software Sources.
 
https://help.ubuntu.com/community/AMD64/FirefoxAndPlugins?action=AttachFile&do=get&target=Screenshot-Adobe+-+Flash+Player+-+Mozilla+Firefox.png
 
=== Versions prior to 7.10 ===
 
==== Install the dependencies ====
 
<pre><nowiki>
 
sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
 
</nowiki></pre>
 
==== Install nspluginwrapper ====
 
add the respository from: http://www.janvitus.netsons.org/repository/
 
Then Install
 
<pre><nowiki>
 
sudo apt-get install nspluginwrapper gsfonts-x11
 
</nowiki></pre>
 
==== Download Flash ====
 
Download the .tar.gz Flash player 9 from Adobe site http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
 
==== Run nspluginwrapper ====
 
Copy “libflashplayer.so” and “flashplayer.xpt” to /usr/lib/mozilla-firefox/plugins/
 
Shutdown Firefox and run this:
 
<pre><nowiki>
 
nspluginwrapper -i /usr/lib/mozilla-firefox/plugins/libflashplayer.so
 
</nowiki></pre>
 
Now flash should work!
 
/!\ nspluginwrapper will create ~/.mozilla/plugins/npwrapper.libflashplayer.so However flash might not be detected by firefox until npwrapper.libflashplayer.so is copied back to /usr/lib/mozilla-firefox/plugins/
 
=== See Also ===
 
Nspluginwrapper thread
 
http://ubuntuforums.org/showthread.php?t=341727
 
Automated script for installing 32bit versions of Firefox, Icecat, and Flock with plugins.
 
http://ubuntuforums.org/showthread.php?p=1174435
 
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月14日 (四) 14:32的版本

Introduction

With the release of Hardy Heron it is possible to use the 64-bit browser, Flash (with the nspluginwrapper), Java OpenJDK, and MPlayer plugins from the Ubuntu repositories. If you need support for more plugins and would like to install a 32-bit version of Firefox to accomplish that, then see the section [[UbuntuHelp:[32-bit|below]]]. A 64-bit version from Adobe is under development, and the latest release can be downloaded from Adobe labs. As of January 17th it is still in alpha testing stage, but is actually very stable for the common needs, as long as you don't need to use microphone or webcam with it. So it is the less painfull way as you can install the 64-bit flash plugin as you do in the old-style way in 32bits environments for the flash 32-bit plugin.

64-bit Firefox and 64-bit Flash plugin

  1. Remove currently installed versions of Flash.
sudo apt-get purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash nspluginwrapper swfdec-mozilla
  1. Visit [1] to update the filename given under if necessary.
  2. Download the 64-bit Flash plugin and extract it:
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz && tar xvfz libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
  1. Move the file in /usr/lib/mozilla/plugins for a site-wide install (or in ~/.mozilla/plugins for a single-user install):
sudo mv libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so

At this stage, you should restart Firefox and verify that the plugin is installed properly by typing about:plugins in the URL bar. <<Anchor(32-bit)>>

32-bit Firefox and plugins

The following technique is a painless way install 32-bit Firefox and proprietary 32-bit binary plug-ins into your Ubuntu amd64-bit installation. It is accomplished without the complexity of establishing a 32-bit chroot environment.

Installing Firefox

Introduction

The following documentation describes steps to installation of 32-bit version of Firefox on a 64-bit systems. In the following tutorial Firefox will be installed int /usr/local/firefox32 dans a script called firefox32 to run Firefox will be created in /usr/local/bin.

Installing 32 Bit Emulation Libraries

Before you can use the 32-bit version of Firefox you need to install the fundamental libraries for 32-bit support under 64-bit native Linux. Open a terminal and install the following:

sudo apt-get install ia32-libs lib32asound2 util-linux
 

Installing 32-bit Edition of Firefox

  1. Download the latest release from Get Firefox or - if you want more version choices - from [2]
  2. Open a terminal and navigate to the directory where you saved it to. Extract and move it (adjust the file name as needed):
tar -zxf firefox-3.0.9.tar.bz2
sudo mv firefox/ /usr/local/firefox32/
  
  1. Next we must setup some minor font details.

First, create the /etc/pango32 directory if it does not already exist.

sudo mkdir /etc/pango32
  

Create the environment variable file for pango32 and open it for editing:

sudo nano /etc/pango32/pangorc &
  

Then paste the script into the editor:

[Pango]
ModuleFiles=/etc/pango32/pango.modules
[PangoX]
AliasFiles=/etc/pango/pangox.aliases
  

Save the file and close the editor.

  1. Finally, create a small script to setup the environment variables and launch our 32-bit version of Firefox.
sudo nano /usr/local/bin/firefox32 &
  

Copy and paste the shell script instructions below:

#!/bin/sh
export GTK_PATH=/usr/lib32/gtk-2.0
export PANGO_RC_FILE=/etc/pango32/pangorc
export GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders.32
linux32 /usr/local/firefox32/firefox "$@"
  

Save the file and close the editor. Make the file executable so that we can launch it:

sudo chmod +x /usr/local/bin/firefox32
  
  1. At this point, close down all instances of Firefox that you might have running. Firefox will spawn new versions of Firefox based upon any current versions you have running. This means that if you wish to load the 32-bit version, you must make certain that you have no instances of the 64-bit version running, and vice versa. Once you have closed all instances of Firefox (including the one in which you are probably reading this), test the executable with the following command in a terminal:
firefox32 &
  

It should load properly. Ignore any warnings that might be output to the shell. However, if you would like to run the 32-bit firefox at the same time as your 64-bit firefox, you can modify the above shell script and add '-no-remote -ProfileManager' when invoking firefox. See below:

#!/bin/sh
export GTK_PATH=/usr/lib32/gtk-2.0
export PANGO_RC_FILE=/etc/pango32/pangorc
export GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders.32
linux32 /usr/local/firefox32/firefox "$@"
  

When you invoke the shell script, a dialog box will appear and you can create a new profile for your 32-bit firefox.

32 Bit Plug-ins

The process for installing plug-ins is relatively painless. Simply take the library file and place it into your newly created /usr/local/firefox32/plugins directory. All of these are optional, you can pick and choose from any of them that you wish to install.

Flash

First off, open a Terminal (Applications - Accessories), and copy/paste these commands into it:

cd ~/Desktop
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
  

This will download the Flash Player on your Desktop. Then, copy/paste the following:

tar -zxf install_flash_player_9_linux.tar.gz
  

To extract the flash from the archive, and then just copy/paste this:

sudo mv install_flash_player_9_linux/libflashplayer.so /usr/local/firefox32/plugins/
  

To move flash into the Firefox Plug-ins folder, from where Firefox will be able to run it. Now simply restart Firefox, and your Flash will be working!

Java
  1. To install the Java applet plugin for 32-bit Firefox, open a Terminal (Applications - Accessories), and copy/paste these commands into it:
sudo aptitude install ia32-sun-java6-bin
  
  1. This will download and install java. Then, copy/paste the following:
sudo ln -s /usr/lib/jvm/ia32-java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/local/firefox32/plugins/
  

This'll install a link within the Firefox 32-bit edition plugins directory and the Java applet. Now simply restart Firefox, and your Java will be working!

RealPlayer
  1. Download the installation package from the RealPlayer website.
  2. Next, open up a terminal and change to the directory where you saved the file you downloaded. Make the file executable and extract it:
chmod +x RealPlayer10GOLD.bin
./RealPlayer10GOLD.bin
  
  1. Accept the default location and extract. Move the file to the appropriate area:
sudo mv RealPlayer /usr/local/realplayer32
  
  1. Link the appropriate files to your Firefox 32-bit plug-in directory:
sudo ln -s /usr/local/realplayer32/mozilla/* /usr/local/firefox32/plugins
  
  1. Link the RealPlayer binary blob file to a location that your default path can find it:
sudo ln -s /usr/local/realplayer32/realplay /usr/local/bin/realplay
  
MPlayer
  1. First download a copy of the Mplayer plugins attached here.
  2. Open up a terminal and change to the directory where you downloaded the file. Extract the compressed file:
tar xjf firefoxmplayer.tar.bz2
 
  1. Copy the Mplayer plug-in files contained in the compressed file to /usr/local/firefox32/plugins/
sudo cp firefoxmplayer/mplayerplug-in* /usr/local/firefox32/plugins/
 

Optional Extras

Set 32-bit Firefox As the Default Browser

  1. Click System menu, then select Preferences > Preferred Applications.
  2. Under the Internet tab, choose Custom from the drop down list under Web Browser.
  3. In the Command edit-box, type:
firefox32 "%s"
  1. Click Close.

Create a Firefox 32-bit Menu Launcher

  1. Add a menu item or panel item. Choose a suitable icon.
  2. Under the command entry, simply type firefox32.
  3. Edit the rest of the description as you like.

Beautifying Firefox's Widgets

To make Firefox use much nicer buttons and other widgets, follow the instructions below. First, grab the widgets, extract them and back up your existing set:

wget http://users.tkk.fi/~otsaloma/art/firefox-form-widgets.tar.gz
tar -xvzf firefox-form-widgets.tar.gz
sudo cp /usr/local/firefox32/res/forms.css /usr/lib/mozilla-firefox/res/forms.css.bak

Finally, set Firefox to use the new widgets:

cat firefox-form-widgets/res/forms-extra.css | sudo tee --append /usr/local/firefox32/res/forms.css > /dev/null
sudo cp -r firefox-form-widgets/res/form-widgets /usr/local/firefox32/res

Troubleshooting

For suggestions/discussion please use AMD64/FirefoxAndPlugins/talk

You may need add the 32-bit version of RealPlayer to your path variable.

  • Alternative Installation Solution

If the above installation solution did not work for you, there is another solution, requiring the use of WINE.

  1. Make sure the universe repsitory is enabled. In terminal enter:
sudo apt-get install ia32-libs lib32asound2
   

This will download the necessary 32-bit binaries for WINE.

  1. Download the most recent WINE .deb file from http://wine.budgetdedicated.com/archive/index.html. Save the file to your desktop.
  2. In terminal enter:
cd ~/Desktop
sudo dpkg --force-architecture -i wine_*_i386.deb
   
  1. Download the Mozilla Firefox exe from http://www.mozilla.com/products/download.html?product=firefox-3.0.9&os=win&lang=en-US. Save the file to your desktop.
  2. In terminal enter:
cd ~/Desktop
wine firefox*
   
  1. Install Firefox normally by following the installer with default settings.
  2. Download Plugins
    1. Open the new link to Firefox that has appeared on your desktop.
    2. Navigate to a website that uses the plugins required (e.g http://youtube.com/ for Flash).
    3. Click the button labled "Install Missing Plugins" in the bar at the top of the page, and install the plugin(s) from the menu shown.
    4. Test by trying to view a page for that plugin.

    /!\ NOTE: If you cannot hear any sound with the plugins, open terminal and type "winecfg" and select sound preferences in the audio tab.