Edit: I’ve written a followup article tackling Flash Player 10 on Intrepid Ibex.
Edit: I’ve been informed by burty89 that you can visit this page and choose the latest package of Flash Player 10 for Intrepid Ibex 64-bit and install that on your Hardy installation. Thanks Burty!
I was experiencing some screen tearing on video with Flash Player 9, and thought perhaps giving Flash Player 10 a try would help. It didn’t help much, but here’s how you can install Flash Player 10 yourself using nspluginwrapper on 64-bit Ubuntu. I did this on Hardy Heron, but similar steps will probably apply to previous or new distributions.
Firstly, you need to remove any existing installations of Flash using nspluginwrapper.
- Close Firefox.
- From the terminal type nspluginwrapper -l. This shows you all current plugins using nspluginwrapper. For example:
jalada@c-cube:~$ nspluginwrapper -l /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/lib/firefox/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/lib64/firefox/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 0.9.91.5
- Remove them using sudo nspluginwrapper -r <plugin location>, for example
sudo nspluginwrapper -r /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
- Remove any other traces of Flash and nspluginwrapper. Note if you’re using nspluginwrapper for something else, do NOT remove it’s folder or package, instead look through the folder and see if there’s anything remaining that is related to Flash. Otherwise you can run these commands:
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common \ mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper sudo rm -f /usr/lib/mozilla/plugins/*flash* sudo rm -f ~/.mozilla/plugins/*flash* sudo rm -f /usr/lib/firefox/plugins/*flash* sudo rm -f /usr/lib/firefox-addons/plugins/*flash* sudo rm -rfd /usr/lib/nspluginwrapper
Next, install the latest version of Flash Player 10
- Visit the Flash Player 10 download page and download the latest version for Linux (in .tar.gz format)
- Extract it, change into the directory it extracted to (something like install_flash_player_10_linux)
- Make sure you’ve closed Firefox again, then copy libflashplayer.so to the Mozilla plugins folder like so:
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
Now you need to download the required 32-bit libraries and manually install them.
- Open up a terminal, make a new directory somewhere and change into it, then download the required 32-bit library packages using the following commands (note, these versions may be old if you read this in the future):
wget http://gb.archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-1d_3.12.0.3-0ubuntu5_i386.deb wget http://gb.archive.ubuntu.com/ubuntu/pool/main/n/nspr/libnspr4-0d_4.7.1+1.9-0ubuntu0.8.04.5_i386.deb wget http://gb.archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3_7.18.2-1ubuntu1_i386.deb
- Extract (not install) all the packages using the following commands:
dpkg -x libnss3* libnss dpkg -x libnspr4* libnspr dpkg -x libcurl3* libcurl
- Copy all the required library files to /usr/lib32/ using the following commands:
sudo cp -rv libnss/usr/lib/* /usr/lib32/ sudo cp -rv libnspr/usr/lib/* /usr/lib32/ sudo cp -rv libcurl/usr/lib/* /usr/lib32/
Now use nspluginwrapper to create the 64-bit wrapper, and then make it so Firefox can see it.
- (Re)install nspluginwrapper
apt-get install ia32-libs nspluginwrapper
- Now use nspluginwrapper to install the 64-bit wrapper for Flash Player 10 using this command:
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
- If you don’t get any output from that command, it means it’s been successful. Now make it so Firefox can see it. The last two of these may be redundant, but it doesn’t hurt:
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so \ /usr/lib/mozilla/plugins/ sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so \ /usr/lib/firefox-addons/plugins/
- Done! Try loading Firefox and giving YouTube a try.
Note that for me, sound just worked straight out of the box. I’m using the bog standard PulseAudio set up with (as far as I can remember) no extra tweaks to get sound working. If you have any issues, or this guide doesn’t work (I’m remembering the steps as best as I can to write this) then leave a comment. If it’s been useful to you, leave a comment too!
Sources for information: My Science is Better, NixCraft.





well, at least it's not complicated or anything
I think it looks more complicated than it is. There are only essentially 4 steps, and I've expanded them to be as thorough as possible so people can follow it step by step, rather than just saying 'extract the required libraries' or something like that.
I agree it's a pretty long process considering the result though. Adobe need to make a native 64-bit version of Flash Player 10, then none of this would be needed
In my experience flash 10 makes the whole firefox unusable on Ubuntu 8.10 (AMD64) – it crashes firefox as soon as you open several pages that use flash.
And therefore the whole Ubuntu 8.10 is simply unusable for normal users (it is still good for revolutionaries, lunatics and wierdos, though).
I am not sure whether it is 64 bit related.
If only Firefox had each tab running as a separate process….It would make ubuntu 8.10 almost usable
I haven't had any issues with Flash 10 yet. I opened up a bunch of video sites – veoh, hulu, youtube, iplayer, and they were all running at the same time fine. Used a fair bit of CPU usage though.
I'm also using the latest Minefield nightly, I don't know if that helps or hinders stability in this case.
[...] give it a try. A few days ago, I had manually installed Flash Player 10 using nspluginwrapper, and wrote a guide about it. I received a suggestion that you can also use an Intrepid Ibex package to install Flash Player 10 [...]
Thanks for the article – I now have the Flash Player 10 Release Candidate (version 10.0.12.10) installed fine. Just a question, when a newer version of the player comes out, would I be able to just replace the libflashplayer.so file? Or would I have to go through the whole process?
I'm not 100% sure, but I think you can just replace it. If that doesn't work, then remove the nspluginwrappers for the old version (using sudo nspluginwrapper -r <path> for all instances of it listed with nspluginwrapper -l), replace the libflashplayer.so file, then run sudo nspluginwrapper -i <pathtolibflashplayer.so> and you should be fine
Thanks for that – I'll see what works when another version comes out.
Thanks for that – I'll see what works when another version comes out.
Thanks, I have performed all steps and it seemed everything went well, but still I have not get sound. There is only video, no sound!
Any idea what can be problem. I just mention that there is sound in my machine when I play VLC so it is not hardware problem.
Thanks
[...] alpha direttamente da Adobe seguendo questo link. Se il plugin nativo a 64 bit da troppi problemi, c’e’ sempre quello a 32 bit, che sfrutta nspluginwrapper per girare in un ambiente a 64 [...]