mozdev.org

Translations: en

Mozilla Plugin Support on Linux (x86_64)

This document is still a work in progress.

Contents [Skip]

Introduction

Until fairly recently, plugins for 64 bit browsers on x86_64 Linux systems have essentially been non-existant. Well, they're still more or less non-existant as far as major ones go, however now we have reliable means of running other plugins with 64 bit browsers. This document covers using nspluginwrapper to run 32 bit Linux browser plugins and CrossOver Linux to run 32 bit Windows browser plugins, as well as native plugins where available.

Note: The test system for the information in this document uses OpenSUSE 11.0 (x86_64) and SeaMonkey. Information for other Linux distributions may not be as current as a result.

All information in this document applies equally to both SeaMonkey and Mozilla Firefox.

32 bit Browsers on 64 bit Systems

Using a 32 bit browser on a 64 bit system has been the most common way of getting plugins to work. Users of 32 bit browsers on 64 bit systems should consult the Linux (x86) section of PluginDoc for more information.

32 and 64 bit Plugins on the Same System

32 and 64 bit browser plugins can exist in the same directory. 64 bit browsers can not load the 32 bit plugins and vice versa. You'll get a bit of interesting reading if you're running SeaMonkey or Firefox from a terminal, but it won't hurt anything.

nspluginwrapper

What is nspluginwrapper?

nspluginwrapper allows you to use Netscape compatible (NPAPI) plugins on platforms that they were not built on - in this instance, using 32bit browser plugins with x86_64 browsers. This is beta software, and licensed under the GNU General Public License (GPL).

Download nspluginwrapper

The latest release of nspluginwrapper at the time of writing is 0.9.91.5. It would be a good idea to take a quick glance at the Release Notes before installing.

Download: [nspluginwrapper]

Installing nspluginwrapper

Most distributions now ship with nspluginwrapper packages - in fact, in many cases, they are even installed by default. You can follow the instructions below if your distribution does not include packages or you do not wish to use them.

RPM Based Distributions

Installing nspluginwrapper on an RPM based system is easy enough, simply install the packages using the tool of your choice. These RPMs are known to work on openSUSE Linux and Mandriva, results may vary with other distributions.

DEB Based Distributions

If you have alien installed, the following instructions should work for you:

sudo alien -d nspluginwrapper-0.9.91.5-1.x86_64.rpm
sudo alien -d nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm
sudo dpkg -i nspluginwrapper*.deb
sudo ln -s /usr/lib/nspluginwrapper/x86_64/npconfig /usr/bin/nspluginwrapper

Important!  nspluginwrapper requires linux32. Make sure this is installed before trying to use it.

Build From Source

Instructions for compiling nspluginwrapper from source are available at the nspluginwrapper Help Center. This is NOT recommended if you are able to install a binary package!

CrossOver Linux

What is CrossOver Linux?

CrossOver Linux allows you to use 32bit Windows applications and browser plugins on x86 and x86_64 Linux systems, using WINE. This is commercial software, available for purchase from the CodeWeavers Store. It is a good option when the Linux version of a plugin does not exist (or is out of date), and is an alternative if nspluginwrapper doesn't work well with a plugin. It is also easier to use than nspluginwrapper.

Download and Install CrossOver Linux

The latest release of CrossOver Linux at the time of writing is 6.1. Installation is easy, simply download the trial and run the installer. This software is best installed as a user.

Working Plugins

Adobe Reader (nspluginwrapper)

Version: 7.0.9, 8.1.3
SeaMonkey 1.1, Firefox 3.0: Works Well
After installing nspluginwrapper, install Adobe Reader 8.1, then run the following command at a terminal:
nspluginwrapper -i /opt/Adobe/Reader8/Browser/intellinux/nppdf.so
If you have Adobe Reader installed in a non-default location, or have installed a version other than 8.x, alter that path accordingly.

Note: Note that Adobe Reader 8.1 requires a 32 bit version of xulrunner and all the baggage that comes with it.
Download Adobe Reader 8.1.3 - Tarball or RPM

DjVuLibre

Version: 3.5.16
SeaMonkey 1.1, Firefox 3.0: Supported
  1. Install DjVuLibre.
  2. Copy or create a symbolic link to nsdejavu.so in your Mozilla plugins directory.
Note: This is a native 64bit browser plugin.
Homepage DjVuLibre

Flash Player 10.0 (x86_64 Alpha)

Version: 10.0 Alpha
SeaMonkey 1.1, Firefox 3.0: Alpha Software
A pre-release version of Flash Player 10.0 for x86_64 is now available from Adobe Labs. To install it, copy libflashplayer.so to your 64 bit browser plugins directory (such as /usr/lib64/browser-plugins/). Note that this is alpha quality software, and is likely to have bugs. Reading the Release Notes is advised.

Important! If you are using nspluginwrapper, be sure to remove any npwrapper.libflashplayer.so files that may be present on your system, as these are likely to conflict with the 64 bit plugin.

Flash Player 10.0 (nspluginwrapper)

Version: 10.0r12
SeaMonkey 1.1, Firefox 3.0: Works Well
After installing nspluginwrapper, install Flash Player to a location of your choice (/usr/lib/browser-plugins/ is suggested), then run the following command:
nspluginwrapper -i /usr/lib/browser-plugins/libflashplayer.so
Important! nspluginwrapper 0.9.91.5 and earlier have some known stability issues with Flash Player 9.0r115 and later. Using a pre-0.9.91.6 snapshot is recommended if you have problems. [More Information...]

Gnash

Version: 0.8.2
SeaMonkey 1.1, Firefox 3.0: Supported
  1. Install Gnash - packages are strongly recommended where available.
  2. Copy or create a symbolic link to libgnashplugin.so in your Mozilla plugins directory.
Note: This is a native 64bit browser plugin.
Homepage Gnash

Java Runtime Environment (Sun)

Version: 1.6.0_12
SeaMonkey 1.1, Unsupported
Firefox 3.0: Supported

Yes, Sun has finally implemented the Java Plugin on x86_64 in JRE 1.6.0_12. This works for Firefox 3.0 or later and pre-release versions of SeaMonkey 2.0.

To set up support for Java applets, create a symbolic link to libnpjp2.so (located in the lib/amd64/ directory of your JRE installation) in your Mozilla plugins directory.


Java Runtime Environment (IcedTea)

Version: IcedTea7
SeaMonkey 1.1, Firefox 3.0: Works (Partial)

Yes, this really does work, however testing applets has been a bit hit and miss. Packages are available for several distributions:
openSUSE 11.0: java-1_7_0-icedtea-plugin (and dependencies)
Fedora Core 8/9: java-1.7.0-icedtea-plugin (and dependencies)
Mandriva 2008.1: java-1.7.0-icedtea-plugin (and dependencies)
Ubuntu hardy/gutsy: icedtea-java7-plugin (and dependencies)

To install for your browser of choice, create a symbolic link to gcjwebplugin.so (located in your IcedTea7 JRE installation) in your browser plugins folder, and name it "libjavaplugin.so". This will likely be set up automatically when you install the package for your distribution.

Important! IcedTea7 is based on pre-release OpenJDK7 code, may not work in all situations, and its behaviour can not be relied upon. Use at your own risk.

Homepage IcedTea

LinuxJ2K (nspluginwrapper)

Version: 0.0.2
SeaMonkey 1.1, Firefox 3.0: Works Well
  1. Download LinuxJ2K Plugin (glibc2.3 version).
  2. Decompress it, then copy npjp2_linux_jasper_pthread.so to the location of your choice (eg. /usr/lib/browser-plugins/), then run the following command:
nspluginwrapper -i /usr/lib/browser-plugins/npjp2_linux_jasper_pthread.so
Alter the path accordingly if the plugin is installed elsewhere.
Download LinuxJ2K Plugin

RealPlayer 10 or Helix Player (nspluginwrapper)

Version: RealPlayer 10.0, Helix Player MS1 or later
SeaMonkey 1.1, Firefox 3.0: Works Well
After installing nspluginwrapper, install RealPlayer 10 or Helix Player, then run the following command:
nspluginwrapper -i /usr/lib/browser-plugins/nphelix.so
If the browser plugin is installed at a different location, alter that path accordingly.
Download RealPlayer 10
Homepage Helix Player

RealPlayer or Helix Player (Nightly Builds)

Version: Nightly Builds
SeaMonkey 1.1, Firefox 3.0: Untested
  1. Install RealPlayer or Helix Player.
  2. Copy nphelix.so and nphelix.xpt to your Mozilla plugins directory.
  3. Make sure a symbolic link to the realplay script is in your PATH.
Important! 64 bit nightly builds of Helix Player and RealPlayer are untested.