Where he blogs about his eclipse musings
Flash Player on 64-bit FireFox on Linux
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.
August 7, 2007 - 10:47 am
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!
October 16, 2007 - 12:42 am
Thank for this help !
October 16, 2007 - 1:12 am
for have sound on gentoo /
pour avoir le son sous gentoo :
emerge emul-linux-x86-soundlibs
October 17, 2007 - 3:39 am
thanks – quick, easy and IT WORKS!
June 5, 2008 - 11:28 am
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?
June 19, 2008 - 3:32 pm
I have the same problem as Pankaj,
do you have some idea about it?
September 8, 2008 - 7:03 am
Thanks man, this worked flawlessly.
December 13, 2009 - 6:08 pm
nspluginwrapper leads to
bash: nspluginwrapper: command not found