Since the release of Hardy Heron it is possible to use the 64-bit browser, [[UbuntuHelp:[flash|Flash]]], [[UbuntuHelp:[java|Java]]], 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 end of 2009, 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 painful 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. <<Anchor(flash)>>
64-bit Firefox and 64-bit Flash plugin (Not officially supported by Ubuntu)
Use script provided and maintained in this forum thread. The script automates the steps listed below.
- Or use the following manual procedure:
- Remove currently installed versions of Flash.
sudo apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla
- Visit  to update the filename given under if necessary.
- Download the 64-bit Flash plugin and extract it:
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz && tar xvfz libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
- Put the file in /usr/lib/flashplugin-installer/libflashplayer64.so for a site-wide install (or in ~/.mozilla/plugins for a single-user install):
sudo mv libflashplayer.so /usr/lib/flashplugin-installer/libflashplayer64.so
Versions of ubuntu with the flashplugin-installer use the alternatives system to manage links for flash plugins in multiple locations (use locate flashplugin-alternative.so to see them all). Ubuntu Karmic (9.10) firefox-3.5.7 uses the link in /usr/lib/xulrunner-addons/plugins, but other versions of firefox may use /usr/lib/mozilla/plugins or one of the others. Each plugins folder has a corresponding group name such as xulrunner-addons-flashplugin or mozilla-flashplugin. If you do not have flashplugin-installer installed, just ignore this and instead run:
sudo mkdir /usr/lib/flashplugin-installer
The alternatives system also manages links for iceape, icewasel and midbrowser in Ubuntu Karmic. Each alternative has a priority, if you installed the 32bit flash it will have the default priority of 50. The alternative of the highest priority will be chosen automatically for each group.
- Install the link (60 is the priority, you can use any value 0-100)
sudo update-alternatives --install /usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so xulrunner-addons-flashplugin /usr/lib/flashplugin-installer/libflashplayer64.so 60
- Note that for Lucid, the command is:
sudo update-alternatives --install /usr/lib/mozilla/plugins/flashplugin-alternative.so xulrunner-addons-flashplugin /usr/lib/flashplugin-installer/libflashplayer64.so 60
The syntax is update-alternatives --install <location where programs will use the link> <group_name> <real file with full path> <priority>.
- To configure which alternative is active use:
sudo update-alternatives --config xulrunner-addons-flashplugin
At this stage, you should restart Firefox and verify that the plugin is installed by selecting Tools/Add-ons in the menu. You can check validity of you installation as well as installed version at Adobe - About Flash Player '
- Uninstallation instructions:
sudo update-alternatives --remove xulrunner-addons-flashplugin /usr/lib/flashplugin-installer/libflashplayer64.so sudo rm /usr/lib/flashplugin-installer/libflashplayer64.so
Repeat the update-alternatives for any other plugin locations you added.
64-bit Firefox and 32-bit Flash plugin (Officially supported by Ubuntu to the extent possible with Flash)
A fallback if the above scenario failed is Ubuntu-packaged 32-bit flash with nspluginwrapper.
- Hardy Heron 8.04: install the following package: apt:flashplugin-nonfree.
- Jaunty Jackalope 9.04, Karmic Koala 9.10 and newer: install the following package: apt:flashplugin-installer.
64-bit Firefox and 64-bit Java plugin
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.pngInstructions are different from Firefox 3.5 and Firefox 3.6. For obtaining the latest version of Firefox 3.6 (as of February 2010), refer to FirefoxNewVersion. For more information about changes in Firefox 3.6, see Why do I need Java 6 Update 10 and above for Firefox 3.6 and later versions?
- Firefox 3.6:
- Install Java
sudo apt-get remove --purge icedtea6-plugin sudo apt-get install sun-java6-plugin
You may need to enable|the Partner repository to install the sun-java6-plugin package. Then configure the new plugin.
sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib64/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so 50
- Firefox 3.5:
sudo apt-get install icedtea6-plugin
32-bit Firefox and plugins
|Unless you have a specific reason to run the Mozilla build, it's recommended to use the packages from the official Ubuntu repositories.>See the recommended procedure for getting Firefox.|
Instructions for installation of 32-bit Firefox from Mozilla builds is available at FirefoxNewVersion/MozillaBuilds.
For suggestions/discussion please use AMD64/FirefoxAndPlugins/talk
- RealPlayer Issues
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.
- 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.
- Download the most recent WINE .deb file from http://wine.budgetdedicated.com/archive/index.html. Save the file to your desktop.
- In terminal enter:
cd ~/Desktop sudo dpkg --force-architecture -i wine_*_i386.deb
- 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.
- In terminal enter:
cd ~/Desktop wine firefox*
- Install Firefox normally by following the installer with default settings.
- Download Plugins
- Open the new link to Firefox that has appeared on your desktop.
- Navigate to a website that uses the plugins required (e.g http://youtube.com/ for Flash).
- 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.
- 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.