Flash, Java, Real Player 32 bit plugins under 64 bit Firefox

From Nocrashwiki

Howto install & use Flash, Java, Real Player 32 bit plugins under 64 bit Firefox

by Vivek Gite · 18 comments

Recently I found nspluginwrapper which allows to use 32bit plugins on a 64bit Firefox browser using nspluginwrapper.

It is an Open Source compatibility plugin for Netscape 4 (NPAPI) plugins. That is, it enables you to use plugins on platforms they were not built for. For example, you can following plugin on Linux/x86_64 , NetBSD and FreeBSD platforms:
=> Acrobat Reader (v5.0.9, v7.0.1)
=> DejaVu Libre (v3.5.14)
=> Flash Player (v7.0, v9.0)
=> Linux JPEG 2000 (v0.0.2)
=> Mplayerplug-in (v2.80, v3.25)
=> Real Player (v10.0.5)

Note that following instruction are tested on 64 bit Fedora Core and RHEL 5 only. See below for Debian/Ubuntu Linux specific instructions.

Download link

You can download this software from official site.

Installation

Use wget command to download software:

$ wget http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-0.9.91.3-1.x86_64.rpm
$ wget http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-i386-0.9.91.3-1.x86_64.rpm

Requirements

a) Make sure Firefox is not running.
b) Make sure you have downloaded and installed required 32 bit plugins such as Flash, Acrobat etc

You need to install gtk2.i386 using yum command:

# yum gtk2.i386

Use rpm command to install package:

# rpm -ivh nspluginwrapper-i386-0.9.91.3-1.x86_64.rpm nspluginwrapper-0.9.91.3-1.x86_64.rpm

Note that you need to install both the Plugin and the Viewer for correct operation.

How do I use this software?

Once installed simply run nspluginwrapper command. For example install wrapper for Flash player 9:

# nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

You can remove wrapper using –r switch:

# nspluginwrapper -r /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so

Under Fedora Core and RHEL 5/Debian/Ubuntu Linux you will find all 64 bit libs under /usr/lib64 and 32 bit under /usr/lib directory.

You can also update all plugins

# nspluginwrapper -v -a -u

Further readings

   Official nspluginwrapper website