Having tried Gnash but found some problems I decided to install Adobe Flash but ran into an error with the installer:
Your architecture, \’x86_64\’, is not supported by the Adobe Flash Player installer.
Not too helpful… I browsed around a bit but found that most of the solutions involved copying the plugin files manually however this didn’t work until I happened on additional step. So the solution for me was:
1. Download and untar the .tar.gz from adobe. If you’ve got the above error you’ve probably already done this.
wget http://fpdownload.macromedia.com/get/flashplayer
/current/install_flash_player_9_linux.tar.gz
tar -xvzf ./install_flash_player_9_linux.tar.gz
2. Copy the libflashplayer.so file to your mozilla plugins folder.
Some guides I found mentioned a second file flashplayer.xpt but I couldn’t see this in the tarball so I ignored.
Also on my fresh installation there’s wasn’t a plugins folder so I created - again skip as necessary.
[Edit] A couple of people have posted comments saying they used the default Gutsy x86_64 default system firefox plugin location (/usr/lib64/firefox/plugins/) which would probably be cleaner although either should work. If you go want to go this route just replace ~/.mozilla/firefox/plugins with /usr/lib64/firefox/plugins/ in the instructions below. [/Edit]
mkdir ~/.mozilla/firefox/plugins
cp install_flash_player_9_linux/libflashplayer.so ~/.mozilla/firefox/plugins
3. Now the magic bullet kindly provided by Gwenole Beauchesne.
sudo aptitude install nspluginwrapper
nspluginwrapper -i ~/.mozilla/plugins/libflashplayer.so
Flash should now be installed and working
if this helped then please take 5 secs to either give me a digg or leave a comment, cheers!




Many thanks!!!!
Flawless, nice work and thanks! i’ve tried NUMEROUS fixes and this is the first to work.
Mozilla creates a plugins folder - For those of you who do not create your own, here is code you’ll need:
nspluginwrapper -i /usr/lib64/mozilla/plugins/libflashplayer.so
enjoy!
Thanks a bunch! - I used the Gutsy x86_64 default system firefox plugin location
nspluginwrapper -i /usr/lib/firefox/plugins/libflashplayer.so and restarted firefox
Wow, it just works!
Did on a Ubuntu Gutsy 64bit, worked like a charm!
The last step gives me: libflashplayer.so is not a valid NPAPI plugin
Made my life a whole lot easier. Thanks much!
Nicely done! Add a ’sudo’ prior to the ‘cp’ command and away you go…
Thanks.
Sebby, that’s because there is a typo in the instructions…
step (2) should be
mkdir ~/.mozilla/plugins
cp install_flash_player_9_linux/libflashplayer.so ~/.mozilla/plugins
Hope that helps
Many thanks
works excellently - many thanks and the firefox fix works fine as well
thanks again!
Many thanks! As a Linux newbie I found this very helpful.
Thank you! And thanks for the correction, a-j.
Worked for me on Gutsy 64! I put “libflashplayer.so” in /usr/lib64/firefox/plugins/ with the rest of my plugins to keep it clean. Copy & paste the 2 sets of commands below into the terminal to do all the work for you. It will download the file, move it to the default firefox plugins directory then clean itself up. Enter your password when prompted.
——————————1st COPY & PASTE BELOW—————————-
cd ~/
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
tar -xvzf ./install_flash_player_9_linux.tar.gz
sudo cp install_flash_player_9_linux/libflashplayer.so /usr/lib64/firefox/plugins/
——————-2nd COPY & PASTE TO INSTALL/CLEAN UP——————-
sudo nspluginwrapper -i /usr/lib64/firefox/plugins/libflashplayer.so
sudo rm -r install_flash_player_9_linux
sudo rm install_flash_player_9_linux.tar.gz
worked for me! many thanks!!
Thanks, finally flash works on 64 bit. I had to do:
nspluginwrapper -i /usr/lib64/firefox/plugins/libflashplayer.so
since I chose to install to /usr/lib64.
At last! A working fix… Great work
Didn’t work the first time I tried but when I took into account the “typo” mentioned in a-j’s post, it worked like a charm.
So just to mention that again for anyone having this problem:
If, after runnning the last command, you get the following error: libflashplayer.so is not a valid NPAPI plugin
The solution is to replace step 2 above with this (tnx a-j):
mkdir ~/.mozilla/plugins
cp install_flash_player_9_linux/libflashplayer.so ~/.mozilla/plugins
So cool! Thanks for the how-to. 2 minutes to make it work
Excellent!! Underbart!
Works great with swiftfox also!
What am I doing wrong I need a ‘multiverse’ and I don’t have a nspluginwrapper
hjg@hjg-desktop:/usr/lib64/firefox/plugins$ ls
libflashplayer.so libtotem-mully-plugin.so
libtotem-basic-plugin.so libtotem-mully-plugin.xpt
libtotem-basic-plugin.xpt libtotem-narrowspace-plugin.so
libtotem-gmp-plugin.so libtotem-narrowspace-plugin.xpt
libtotem-gmp-plugin.xpt libunixprintplugin.so
hjg@hjg-desktop:/usr/lib64/firefox/plugins$ sudo aptitude install nspluginwrapper
Reading package lists… Done
Building dependency tree
Reading state information… Done
Initializing package states… Done
Writing extended state information… Done
Building tag database… Done
Couldn’t find any package whose name or description matched “nspluginwrapper”
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Building tag database… Done
hjg@hjg-desktop:/usr/lib64/firefox/plugins$ nspluginwrapper -i ~/.firefox/plugins/libflashplayer.so
The program ‘nspluginwrapper’ is currently not installed. You can install it by typing:
sudo apt-get install nspluginwrapper
You will have to enable component called ‘multiverse’
bash: nspluginwrapper: command not found
hjg@hjg-desktop:/usr/lib64/firefox/plugins$ sudo apt-get install nspluginwrapper
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package nspluginwrapper
Howard
Howard
In a shell run:
gksudo gedit /etc/apt/sources.list
Uncomment (remove the #) from the lines containing multiverse. Save the file and then run:
sudo apt-get update
sudo apt-get install nspluginwrapper
cheers
Daryl
Hi Daryl,
won’t work for me: I can play the movies on YouTube, but it won’t play all Flash movies. For instance, the Flash at http://www.nl.bol.com/is-bin/INTERSHOP.enfinity/eCS/Store won’t work.
Does it work for you? Do you see anything?
Hi Jaap - yeah that site works ok for me, can see some special offers etc.
Check the ubuntu updates as well - youtube stopped working for me a couple of days ago for some reason but after an ubuntu update all was well.
Hi,
Thanks for your howto.
I had tried a lot with no result, but yours works !!!
Thank you!!! I’ve been beating my Ubuntu install with a stick for a long time trying to get Flash to work. The packaged flashplugin-nonfree install available through Synaptic has been smacking against our corporate proxy server. I tried all sorts of different stuff, but it was the “nspluginwrapper -i” that I was missing. Now I can listen to Pandora!
FYI, I was unable to get this howto to work on Ubuntu 8.04 beta. May be my noobie status but . . . .
Here’s what worked for me - it’s a method described for Debian and seems even simpler with 4 easy steps:
note: commands are in quotation marks for illustration purposes only
1] download the adobe flashplayer tar.gz file to the desktop and then close your browser window(s)
2] untar it like so: “tar -zxvf name-of-file.tar.gz” // you don’t have to sudo here
3] cd to the flashplayer-installer file and do “sudo ./flashplayer-installer”
4] agree when asked and when asked for the path, follow the example and change the “mozilla” part to what’s relevant to your browser, ie firefox or iceweasel
the next step is not necessary, but I like a clean desktop, so this is what I did: cd to Desktop, and issue: “sudo rm -r install*”
open your browser, and try with for example youtube
Thank you !!
Very straightforward procedure, simple to follow. Just take note of a-j’s smart finding about the typo. I can now watch CNN’s videos after following the procedure and restarting my desktop. Cheers !!
Thanks a lot.
Great Job……….it worked smoooooothly………….
Thank you kindly.
I won’t go back to W@#$dows after all.
A simple procedure which WORKS - why doesn’t Ub@#tu publish this??!!
Hey Thanks mate ….. this works !
I had it installed in my /usr/lib64/mozilla/plugins directory.
Although for me, simply re-starting my firefox (Firefox 3 Beta 5 - comes with Ubuntu 8.04 LTS) did not help. I had to log out and log back in and only then I could play programmes like BBC iPlayers. Not sure why though.
But thanks anyway.
kangarooman.
Finally!!!
I spend a whole afternoon looking for solution.Only this One solved my problem.
Absolutely Brilliant!
Excellent! Worked for me too!
perfect, works on Ubuntu 8.04 also!
Thanx
Thanks man it worked on 8.04…
ps: donated a click..
Thank you so much! Like many of the others, I have tried numerous solutions and this one was the first to work and it was easy! Kudos
Worked it out! thanks! a few notes that i wanted to mention during my fix..
(in regard to the last step)
I have Hardy Heron and then i also installed firefox 3.0.3.
With ff3 upgrade, there are 3 other folders that are associated with a version of firefox but one just links to another, so its really only two.
I used the nspluginwrapper for each of the the folders, so im not sure which one made it work.
nspluginwrapper -i /usr/lib64/firefox/plugins/libflashplayer.so
nspluginwrapper -i /usr/lib64/firefox-addons/plugins/libflashplayer.so
nspluginwrapper -i /usr/lib64/firefox-3.0.3/plugins/libflashplayer.so
Thanks a lot.
I used the Gutsy x86_64 default system firefox plugin location (/usr/lib64/firefox/plugins/) and the installation worked great.
I automated the process of installing flash 32bit and 64bit in Ubuntu Desktop. It even works with pulseaudio.
Automated Flash Install:
http://www.hildoersystems.com/index.php?option=com_content&view=article&id=76:automated-install-of-flash-10-for-ubuntu-desktop-32bit-and-64bit&catid=39:multimedia&Itemid=59