How to setup x86_64 plugins for Firefox on Centos
CentOS x86_64 ships with a 64-bit version of Firefox, but finding and configuring plugins can be problematic. Many people still prefer and recommend using the 32 bit version of the browser and plugins on x86_64; however, x86_64 support has improved considerably, and this page will hopefully help if one wants to go 64-bit. This page will describe how to install and configure Adobe Flash and Java plugins.
Note: CentOS-5 ships with java-1.6.0-openjdk but the x86_64 java-1.6.0-openjdk-plugin package is missing.
These steps (except for the downloads) must be run as root.
Step 1: Set up the RPMforge or Adobe repo
The Wiki article AdditionalResources/Repositories describes how to configure RPMforge. Please note the warnings there, and read and follow the Wiki document Priorities to set up the yum-priorities plugin when using third party repositories. Adobe now has a 64-bit yum repository available at http://get.adobe.com/flashplayer/otherversions/. Download the repo definition RPM, currently adobe-release-x86_64-1.0-1.noarch.rpm and install with rpm. Define the priority as desired if using yum priorities by editing /etc/yum.repos.d/adobe-linux-x86_64.repo. The Adobe version will update the RPMforge version if it has been installed, and the priority of the Adobe repo is higher.
Step 2: Set up the x86_64 flash plugin
The following will install an RPM package containing the plugin.
yum remove flash-plugin nspluginwrapper* yum install flash-plugin
It has been reported that it may be necessary, particularly on minimal installs, to install the "Sound and Video" group to get flash to work properly.
yum groupinstall "Sound and Video"
Step 3: Set up x86_64 Java runtime and plugin
Download the Sun jre "Linux X64 RPM", cd to the download directory, install, and configure. See How to install the Java Runtime Environment from Java.com for details.
Step 4: Test Java runtime and Flash plugin
Should return the Java version.
Java and flash plugins should now be working. Exit Firefox if it is running and [re]start Firefox.
Type "about:plugins" in the URL field. It should show Java and Flash enabled.
The use of the Flashblock Add-on is often recommended.
This page created and maintained by PhilSchaffner. Other Wiki contributors are invited to make corrections, additions, or modifications.