Ketan's Musings

Where he blogs about his eclipse musings

Flash Player on 64-bit FireFox on Linux

with 9 comments

Here’s how to get your firefox running on a 64 bit Linux machine to work with 32 bit plugins. I’ve tried this with gentoo, it should work with ubuntu or kubuntu or any other distro of your choice.

Download and install nspluginwrapper from http://gwenole.beauchesne.info/projects/nspluginwrapper/.

For ubuntu, there are some instructions on how to do this here (http://ubuntuforums.org/showthread.php?t=341727). On gentoo I had to

 #emerge nspluginwrapper

Download the flash installer from the website here: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz. Untar the installer:

$ tar -zxvf install_flash_player_9_linux.tar.gz

Step into the installer directory:

cd install_flash_player_9_linux

Edit the installer file:

vi flashplayer-installer #use nano or gedit if you like

Navigate to line 47 (this inside the function exit_cpu) and comment out the line that says exit 1.

# the architecture is not supported
exit_cpu () {
  echo ""
  echo "ERROR: Your architecture, \'$1\', is not supported by the"
  echo "       $PRODUCT installer."
  echo ""
  #exit 1   # this was line 47
}

Install the flash plugin, I used the default paths, you can choose the paths according to what you have on your computer (I used /home/ketan/.mozilla)

./flashplayer-installer

Now verify that the plugin actually got installed in the directory that you specified

$ ls /home/ketan/.mozilla/plugins

Use nspluginwrapper to create a 64-bit wrapper around this 32 bit plugin. (thanks to Lance for a typo update)

$ nspluginwrapper -i /home/ketan/.mozilla/plugins/libflashplayer.so

Now restart firefox, that should get you to run firefox with flash player.

Written by Ketan

August 1st, 2007 at 2:07 pm

9 Responses to 'Flash Player on 64-bit FireFox on Linux'

Subscribe to comments with RSS or TrackBack to 'Flash Player on 64-bit FireFox on Linux'.

  1. KUDOS! This is the only process for installing flash in firefox64 that actually worked without dying every restart.

    Simple, C+P instructions…

    nspluginwrapper /home/ketan/.mozilla/plugins/libflashplayer.so

    should be

    nspluginwrapper -i /home/ketan/.mozilla/plugins/libflashplayer.so

    THANKS!

    Lance

    7 Aug 07 at 10:47 am

  2. Thank for this help !

    atch

    16 Oct 07 at 12:42 am

  3. for have sound on gentoo /
    pour avoir le son sous gentoo :

    emerge emul-linux-x86-soundlibs

    atch

    16 Oct 07 at 1:12 am

  4. thanks – quick, easy and IT WORKS!

    tom

    17 Oct 07 at 3:39 am

  5. hi,
    Thanx , I was able to get flash working after reading your comments.
    But the audio on flash applications is not working, though the sound card of my sys is OK. can you suggest any wayout?

    Pankaj

    5 Jun 08 at 11:28 am

  6. I have the same problem as Pankaj,

    do you have some idea about it?

    One

    19 Jun 08 at 3:32 pm

  7. Thanks man, this worked flawlessly.

    Duncan

    8 Sep 08 at 7:03 am

  8. [...] Flash Player on 64-bit FireFox on Linux [...]

  9. nspluginwrapper leads to

    bash: nspluginwrapper: command not found

    cH3tto (h1lol

    13 Dec 09 at 6:08 pm

Leave a Reply

IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

What is 12 + 14 ?
Please leave these two fields as-is: