特殊:Badtitle/NS100:Firefox2AMD64Flash9Java
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Firefox2AMD64Flash9Java }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/af | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Afrikaans| [[::Firefox2AMD64Flash9Java/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ar | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|العربية| [[::Firefox2AMD64Flash9Java/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/az | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|azərbaycanca| [[::Firefox2AMD64Flash9Java/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/bcc | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|جهلسری بلوچی| [[::Firefox2AMD64Flash9Java/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/bg | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|български| [[::Firefox2AMD64Flash9Java/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/br | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|brezhoneg| [[::Firefox2AMD64Flash9Java/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ca | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|català| [[::Firefox2AMD64Flash9Java/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/cs | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|čeština| [[::Firefox2AMD64Flash9Java/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/de | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Deutsch| [[::Firefox2AMD64Flash9Java/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/el | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Ελληνικά| [[::Firefox2AMD64Flash9Java/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/es | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|español| [[::Firefox2AMD64Flash9Java/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/fa | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|فارسی| [[::Firefox2AMD64Flash9Java/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/fi | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|suomi| [[::Firefox2AMD64Flash9Java/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/fr | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|français| [[::Firefox2AMD64Flash9Java/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/gu | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|ગુજરાતી| [[::Firefox2AMD64Flash9Java/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/he | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|עברית| [[::Firefox2AMD64Flash9Java/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/hu | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|magyar| [[::Firefox2AMD64Flash9Java/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/id | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Bahasa Indonesia| [[::Firefox2AMD64Flash9Java/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/it | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|italiano| [[::Firefox2AMD64Flash9Java/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ja | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|日本語| [[::Firefox2AMD64Flash9Java/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ko | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|한국어| [[::Firefox2AMD64Flash9Java/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ksh | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Ripoarisch| [[::Firefox2AMD64Flash9Java/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/mr | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|मराठी| [[::Firefox2AMD64Flash9Java/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ms | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Bahasa Melayu| [[::Firefox2AMD64Flash9Java/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/nl | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Nederlands| [[::Firefox2AMD64Flash9Java/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/no | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|norsk| [[::Firefox2AMD64Flash9Java/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/oc | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|occitan| [[::Firefox2AMD64Flash9Java/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/pl | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|polski| [[::Firefox2AMD64Flash9Java/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/pt | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|português| [[::Firefox2AMD64Flash9Java/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ro | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|română| [[::Firefox2AMD64Flash9Java/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/ru | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|русский| [[::Firefox2AMD64Flash9Java/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/si | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|සිංහල| [[::Firefox2AMD64Flash9Java/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/sq | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|shqip| [[::Firefox2AMD64Flash9Java/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/sr | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|српски / srpski| [[::Firefox2AMD64Flash9Java/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/sv | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|svenska| [[::Firefox2AMD64Flash9Java/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/th | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|ไทย| [[::Firefox2AMD64Flash9Java/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/tr | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Türkçe| [[::Firefox2AMD64Flash9Java/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/vi | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|Tiếng Việt| [[::Firefox2AMD64Flash9Java/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/yue | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|粵語| [[::Firefox2AMD64Flash9Java/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/zh | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|中文| [[::Firefox2AMD64Flash9Java/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/zh-hans | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|中文(简体)| [[::Firefox2AMD64Flash9Java/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Firefox2AMD64Flash9Java | UbuntuHelp:Firefox2AMD64Flash9Java | {{#if: | :}}Firefox2AMD64Flash9Java}}/zh-hant | • {{#if: UbuntuHelp:Firefox2AMD64Flash9Java|中文(繁體)| [[::Firefox2AMD64Flash9Java/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Firefox2AMD64Flash9Java|:Firefox2AMD64Flash9Java|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Firefox2AMD64Flash9Java/zh | | {{#ifexist: Firefox2AMD64Flash9Java/zh | | {{#ifeq: {{#titleparts:Firefox2AMD64Flash9Java|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Firefox2AMD64Flash9Java|1|-1|}} | zh | | }}
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
sudo su - apt-get install ia32-libs ia32-libs-gtk linux32
Download the needed files from the web
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'
Installing Firefox 2.0
Expand the firefox tarfile under /usr/local
cd /usr/local/ tar xzf /usr/local/src/ubuntu/firefox32/firefox-2.0.tar.gz mv firefox firefox32
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:
/usr/local/firefox32/firefox
- Firefox main window should open, and clicking on "Help/About Firefox" should show the version:
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
- Close firefox (so we can continue installing the plug-ins).
Installing Plug-in: Flash 9 Beta
- Execute:
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
- Run firefox:
/usr/local/firefox32/firefox
- Enter "about:plugins" on the location box; it should show:
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
- 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:
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 .
- Run firefox:
/usr/local/firefox32/firefox
- Enter "about:plugins" on the location box; it should show:
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
- 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:
Name : firefox32 Generic name : 32-bit Firefox 2.0 Comment : 32-bit Firefox with 'Flash' and 'Java' Command : /usr/local/firefox32/firefox Type : Application
- Test it by clicking on the new icon created above.