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

Posted on in Categories Debian Linux, Linux, Linux desktop, RedHat/Fedora Linux, Suse Linux, Tips, Troubleshooting, Ubuntu Linux last updated March 16, 2007

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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

19 comment

  1. This is great. Took like 5 minutes. This guide works well for opensuse, and firefox I just made sure copy libflashplayer.so to /usr/lib64/firefox/plugins since it wasn’t in the directory.

  2. Yeah, this really worked:

    # rpm -ivh nspluginwrapper-i386-0.9.91.3-1.x86_64.rpm nspluginwrapper-0.9.91.3-1.x86_64.rpm
    error: Failed dependencies:
    libXt.so.6 is needed by nspluginwrapper-i386-0.9.91.3-1.x86_64

    It’s already installed! LOL!

  3. i have installed as you directed but the speaker voice is not coming in flv…
    that means flash video are playing without voice
    if u have any idea than give reply
    thanks

  4. I work on debain 4.0 version os as Software engineer but in my laptop not supported a sound player in this case i am not lisening a any sound from my laptop and xp os fully supported a sound driver and that driver is realtek .
    i have no idea which software is install please if u have any idea for me than give me a reply
    Thank you 16-02-2010

  5. Ha Ha du you realy think somone understand this nonsense
    no link work realy dont need to work with firefox
    i am pc supporter du you realy think my grand mother understand it
    i did But no links so . . .
    again ha ha

Leave a Comment