HOWTO: Install Flash 9 on Ubuntu 64-bit

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!

37 Responses to “HOWTO: Install Flash 9 on Ubuntu 64-bit”


  1. 1 peter Jan 14th, 2008 at 11:42 pm

    Many thanks!!!!

  2. 2 Samuelsner Jan 15th, 2008 at 11:01 pm

    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!

  3. 3 Darb Jan 16th, 2008 at 7:27 am

    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

  4. 4 Saulo Silva Jan 18th, 2008 at 10:16 pm

    Wow, it just works!
    Did on a Ubuntu Gutsy 64bit, worked like a charm!

  5. 5 Sebby Jan 19th, 2008 at 1:49 am

    The last step gives me: libflashplayer.so is not a valid NPAPI plugin

  6. 6 Devosion Jan 20th, 2008 at 3:42 am

    Made my life a whole lot easier. Thanks much!

  7. 7 BugButcher Jan 20th, 2008 at 5:03 am

    Nicely done! Add a ’sudo’ prior to the ‘cp’ command and away you go…

    Thanks.

  8. 8 a-j Jan 25th, 2008 at 12:21 pm

    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

  9. 9 LindenRathen Jan 28th, 2008 at 3:18 am

    Many thanks

    works excellently - many thanks and the firefox fix works fine as well

    thanks again!

  10. 10 Bosstone Jan 30th, 2008 at 4:22 am

    Many thanks! As a Linux newbie I found this very helpful.

  11. 11 Shoe Jan 30th, 2008 at 7:42 pm

    Thank you! And thanks for the correction, a-j.

  12. 12 D-Sticks Feb 1st, 2008 at 8:57 pm

    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

  13. 13 tg Feb 5th, 2008 at 9:11 pm

    worked for me! many thanks!!

  14. 14 Dave DooLittle Feb 7th, 2008 at 2:01 pm

    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.

  15. 15 Sakkle Feb 7th, 2008 at 6:01 pm

    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

  16. 16 Aljosa Feb 9th, 2008 at 12:24 pm

    So cool! Thanks for the how-to. 2 minutes to make it work

  17. 17 Niklas Feb 10th, 2008 at 12:16 am

    Excellent!! Underbart!
    Works great with swiftfox also!

  18. 18 Howard Graham Feb 25th, 2008 at 10:47 am

    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

  19. 19 daryl Feb 28th, 2008 at 12:31 am

    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

  20. 20 Jaap Mar 4th, 2008 at 5:04 pm

    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?

  21. 21 daryl Mar 5th, 2008 at 11:51 am

    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.

  22. 22 ToMaZi Mar 8th, 2008 at 8:42 pm

    Hi,

    Thanks for your howto.
    I had tried a lot with no result, but yours works !!!

  23. 23 aayore Mar 10th, 2008 at 9:31 pm

    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!

  24. 24 bearswatchin Mar 23rd, 2008 at 4:46 pm

    FYI, I was unable to get this howto to work on Ubuntu 8.04 beta. May be my noobie status but . . . .

  25. 25 Marcel Apr 5th, 2008 at 12:58 am

    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

  26. 26 Romeo Olida Apr 9th, 2008 at 9:36 pm

    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 !!

  27. 27 Deepak Apr 29th, 2008 at 7:43 am

    Thanks a lot.
    Great Job……….it worked smoooooothly………….

  28. 28 Gizzard May 28th, 2008 at 1:50 pm

    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??!!

  29. 29 kangarooman May 28th, 2008 at 6:50 pm

    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.

  30. 30 andy Jun 21st, 2008 at 12:06 pm

    Finally!!!
    I spend a whole afternoon looking for solution.Only this One solved my problem.
    Absolutely Brilliant!

  31. 31 Luis Jun 27th, 2008 at 1:10 pm

    Excellent! Worked for me too!

  32. 32 dharjee Jul 10th, 2008 at 8:37 pm

    perfect, works on Ubuntu 8.04 also!

    Thanx

  33. 33 emailandthings Sep 24th, 2008 at 3:46 am

    Thanks man it worked on 8.04…

    ps: donated a click..

  34. 34 Herman Oct 5th, 2008 at 1:15 pm

    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

  35. 35 jaret100 Oct 14th, 2008 at 6:05 pm

    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

  36. 36 ulli Nov 22nd, 2008 at 11:55 pm

    Thanks a lot.
    I used the Gutsy x86_64 default system firefox plugin location (/usr/lib64/firefox/plugins/) and the installation worked great.

  37. 37 Anthony Hildoer Feb 17th, 2009 at 10:08 pm

    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

Leave a Reply






Add to Technorati Favorites
Zen Handbook

Latest Posts

RSS