|
|
第1行: |
第1行: |
| + | #REDIRECT [[UbuntuHelp:AMD64/FirefoxAndPlugins]] |
| {{From|https://help.ubuntu.com/community/Firefox2AMD64Flash9Java}} | | {{From|https://help.ubuntu.com/community/Firefox2AMD64Flash9Java}} |
| {{Languages|UbuntuHelp:Firefox2AMD64Flash9Java}} | | {{Languages|UbuntuHelp:Firefox2AMD64Flash9Java}} |
− |
| |
− |
| |
− | This page shows how to install the 32-bit version of Firefox 2.0 plus the Flash 9 Player and Java (Sun's 1.5) plug-ins on a machine running Ubuntu 6.06 LTS (aka "Dapper Drake"). It was inspired by this other page: [[UbuntuHelp:FirefoxAMD64FlashJava]], but we are installing newer versions and have a simpler installation procedure.
| |
− |
| |
− | == Introduction ==
| |
− |
| |
− | Why not use the fine 64-bit Firefox that comes standard with Ubuntu? Mainly because:
| |
− |
| |
− | **** 3rd-party plug-in support is lacking. Specifically, you won't be able to get true, died-to-the-wool Flash and Java plug-in support (I know there's Gnash and Blackdown plugins, but the first would not play most of the Flash content available on-line, and Blackdown kept signal-11'ing my browser);
| |
− |
| |
− | **** We want Firefox 2.0, Ubuntu (at least 6.06 "Drapper") comes with Firefox 1.5;
| |
− |
| |
− | == Preliminaries ==
| |
− |
| |
− | The following commands are meant to be typed in a shell prompt (Terminal, etc):
| |
− |
| |
− | === Install 32-bit compatibility packages ===
| |
− | <pre><nowiki>sudo su -
| |
− | apt-get install ia32-libs ia32-libs-gtk linux32
| |
− | </nowiki></pre>
| |
− | === Download the needed files from the web ===
| |
− | <pre><nowiki>mkdir -p /usr/local/src/ubuntu/firefox32
| |
− | cd !$
| |
− | wget \
| |
− | http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0/linux-i686/en-US/firefox-2.0.tar.gz
| |
− |
| |
− | mkdir -p plugins{,/java,/flash}
| |
− | cd plugins/flash
| |
− | wget http://download.macromedia.com/pub/labs/flashplayer9_update/FP9_plugin_beta_101806.tar.gz
| |
− | cd ../java
| |
− | wget -O jre-1_5_0_09-linux-i586.bin 'http://jdl.sun.com/webapps/download/AutoDL?BundleId=10744'
| |
− | </nowiki></pre>
| |
− |
| |
− | == Installing Firefox 2.0 ==
| |
− |
| |
− | === Expand the firefox tarfile under /usr/local ===
| |
− |
| |
− | <pre><nowiki>cd /usr/local/
| |
− | tar xzf /usr/local/src/ubuntu/firefox32/firefox-2.0.tar.gz
| |
− | mv firefox firefox32
| |
− | </nowiki></pre>
| |
− |
| |
− | === Quick test ===
| |
− |
| |
− | **** Close ANY instance of firefox which might already be running (or else the command below will just ask the running instance to open a new window);
| |
− | **** Execute:
| |
− | <pre><nowiki>/usr/local/firefox32/firefox
| |
− | </nowiki></pre>
| |
− |
| |
− | **** Firefox main window should open, and clicking on "Help/About Firefox" should show the version:
| |
− | <code><nowiki>Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0</nowiki></code>
| |
− |
| |
− | **** Close firefox (so we can continue installing the plug-ins).
| |
− |
| |
− |
| |
− | == Installing Plug-in: Flash 9 Beta ==
| |
− | **** Execute:
| |
− | <pre><nowiki>cd /usr/local/firefox32/plugins/
| |
− | tar xzf /usr/local/src/ubuntu/firefox32/plugins/flash/FP9_plugin_beta_101806.tar.gz
| |
− | mv flash-player-plugin-9.0.21.55/libflashplayer.so .
| |
− | rm -rf flash-player-plugin-9.0.21.55
| |
− | chmod +x libflashplayer.so
| |
− | </nowiki></pre>
| |
− | **** Run firefox:
| |
− | <pre><nowiki>/usr/local/firefox32/firefox
| |
− | </nowiki></pre>
| |
− | **** Enter "about:plugins" on the location box; it should show:
| |
− | <pre><nowiki>Shockwave Flash
| |
− |
| |
− | File name: libflashplayer.so
| |
− | Shockwave Flash 9.0 d55
| |
− |
| |
− | MIME Type Description Suffixes Enabled
| |
− | application/x-shockwave-flash Shockwave Flash swf Yes
| |
− | application/futuresplash FutureSplash Player spl Yes
| |
− | </nowiki></pre>
| |
− |
| |
− | **** Test it by acessing a flash-heavy site (e.g, http://www.youtube.com/ and see if the videos play OK).
| |
− |
| |
− | **** Close firefox (so we can go on and install the Java plug-in).
| |
− |
| |
− | == Installing Plug-in: Sun Java 1.5 ==
| |
− | **** Execute:
| |
− | <pre><nowiki>mkdir /usr/local/java32
| |
− | cd !$
| |
− | sh /usr/local/src/ubuntu/firefox32/plugins/java/jre-1_5_0_09-linux-i586.bin
| |
− | -> Press the <Space> bar until you come to the message:
| |
− | Do you agree to the above license terms? [yes or no]
| |
− | -> Type "yes" <enter>; a lot of files will be expanded just under ./jre1.5.0_09
| |
− | ln -s jre1.5.0_09 jre
| |
− | cd /usr/local/firefox32/plugins/
| |
− | ln -s ../../java32/jre/plugin/i386/ns7/libjavaplugin_oji.so .
| |
− | </nowiki></pre>
| |
− |
| |
− | **** Run firefox:
| |
− | <pre><nowiki>/usr/local/firefox32/firefox
| |
− | </nowiki></pre>
| |
− | **** Enter "about:plugins" on the location box; it should show:
| |
− | <pre><nowiki>Java(TM) Plug-in 1.5.0_09-b03
| |
− |
| |
− | File name: libjavaplugin_oji.so
| |
− | Java(TM) Plug-in 1.5.0_09
| |
− |
| |
− | MIME Type Description Suffixes Enabled
| |
− | application/x-java-vm Java Yes
| |
− | application/x-java-applet Java Yes
| |
− | application/x-java-applet;version=1.1 Java Yes
| |
− | application/x-java-applet;version=1.1.1 Java Yes
| |
− | application/x-java-applet;version=1.1.2 Java Yes
| |
− | application/x-java-applet;version=1.1.3 Java Yes
| |
− | application/x-java-applet;version=1.2 Java Yes
| |
− | application/x-java-applet;version=1.2.1 Java Yes
| |
− | application/x-java-applet;version=1.2.2 Java Yes
| |
− | application/x-java-applet;version=1.3 Java Yes
| |
− | application/x-java-applet;version=1.3.1 Java Yes
| |
− | application/x-java-applet;version=1.4 Java Yes
| |
− | application/x-java-applet;version=1.4.1 Java Yes
| |
− | application/x-java-applet;version=1.4.2 Java Yes
| |
− | application/x-java-applet;version=1.5 Java Yes
| |
− | application/x-java-applet;jpi-version=1.5.0_09 Java Yes
| |
− | application/x-java-bean Java Yes
| |
− | application/x-java-bean;version=1.1 Java Yes
| |
− | application/x-java-bean;version=1.1.1 Java Yes
| |
− | application/x-java-bean;version=1.1.2 Java Yes
| |
− | application/x-java-bean;version=1.1.3 Java Yes
| |
− | application/x-java-bean;version=1.2 Java Yes
| |
− | application/x-java-bean;version=1.2.1 Java Yes
| |
− | application/x-java-bean;version=1.2.2 Java Yes
| |
− | application/x-java-bean;version=1.3 Java Yes
| |
− | application/x-java-bean;version=1.3.1 Java Yes
| |
− | application/x-java-bean;version=1.4 Java Yes
| |
− | application/x-java-bean;version=1.4.1 Java Yes
| |
− | application/x-java-bean;version=1.4.2 Java Yes
| |
− | application/x-java-bean;version=1.5 Java Yes
| |
− | application/x-java-bean;jpi-version=1.5.0_09 Java Yes
| |
− | </nowiki></pre>
| |
− |
| |
− | **** Test it by acessing a Java-heavy site (e.g, http://www.bitstorm.org/gameoflife/ and play with the applets there).
| |
− |
| |
− | == Adding an icon at the top panel ==
| |
− |
| |
− | **** Click with the right button at the top panel;
| |
− | **** Choose : Add to panel;
| |
− | **** Choose : Custom application launcher, and press 'Add' button;
| |
− | **** Fill the dialog with the following:
| |
− | <pre><nowiki>Name : firefox32
| |
− | Generic name : 32-bit Firefox 2.0
| |
− | Comment : 32-bit Firefox with 'Flash' and 'Java'
| |
− | Command : /usr/local/firefox32/firefox
| |
− | Type : Application
| |
− | </nowiki></pre>
| |
− |
| |
− | **** Test it by clicking on the new icon created above.
| |
− |
| |
− | ----
| |
− | [[category:CategoryDocumentation]]
| |
| | | |
| [[category:UbuntuHelp]] | | [[category:UbuntuHelp]] |