My Science Is Better

17Nov/0888

Install native 64bit Flash Player 10 on Linux

EDIT: updated the scripts to install the 64-bit Flash Player 10 alpha refresh for Linux that was released on December 8th, 2009.

Adobe FINALLY released a native 64bit Flash Player 10 plugin. Although this is still an alpha release, the news is very exciting for Linux users, since we don't longer depend on nspluginwrapper, which although does the job, has it's drawbacks.

I have put together a small tutorial on how to install the native flash player 10 64bit plugin for linux.

#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"
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

echo "Installing Flash Player 10"
cd ~
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
tar zxvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/ 

echo "Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it."
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so  /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf libflashplayer.so
sudo rm -rf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz

You can now restart firefox ;-)

Some users seem to have problems with viewing this page, so i wrapped everything needed to install the native 64bit flash player on linux into a shell script. Grab the Ubuntu script here, chmod +x and execute it.

Thanks to Claudio de Taunay for providing a script that works in OpenSuSE 11. You can pick it up here.

Thanks to Homer Xing from the Ailurus project you can now install native flash player 64bit on Fedora. You can pick up the script here.

Let me know if you encounter any bugs.

the scripts to install in different distro:
Ubuntu: install native flash 64bit on Ubuntu

Fedora: install native flash 64bit on Fedora

OpenSuse: install native flash 64bit on OpenSuse

Comments (88) Trackbacks (0)
  1. Just wanted to leave a comment, good work like this cannot go unnoticed, I have been trying to figure out how to get flash to work on 64 bit linux for some time now, kudos man.

  2. very much appreciated compadre, keep up the good work.

  3. Best tutorial, all the others out there sux, they don’t remove the files completely, Tnx to the author, and now i can go through my java netbeans tutorial :)

  4. muchos gracia senior! De un otro usario feliz!

  5. Thank you, works as a charm for me too on Hardy.

  6. You are great, thanks and have a wonderful 2010

  7. It looks like there’s a newer version available from Adobe: 10.1p2. Will you be updating your script to include it? I tried changing a few lines in your script but it did not work for me.

    Thanks, by the way, for your script!

  8. Sorry, please disregard my prior comment re: 10.1p2 – it does not appear to be a 64 bit version.

  9. Excellent work! I’ve found various scripts online that were supposed to install flash, but yours is the only one that worked worth a tinkers’ damn – Thank you!

  10. Still no Flash Player running for me on Ubuntu 9.10 w/ FireFox3.5 browser. The script seemed to execute fine but still no Flashplayer 10. Any help would be appreciated. Thanks.

  11. your science is indeed better :P

    you’re a good man, Charlie Brown. thank you.

  12. i ran your script and it seemed like it all went through properly – checking about:plugins shows flash 10.0 r42 is installed and no errors came up while the script was running. however, firefox crashes every time something tries to use flash. i have to use flashblock to even browse without having a random ad crash firefox.

    any ideas?

  13. Thanks a tonne for this , all other tutorials did not do a clean install and firefox always showed the previous version on ubuntu 8.04 , 64 bit. A few others tutorials had you linking to the npwrapper.libflashplayer.so and even that didnt work as expected or was flash version 9.0.260 masquerading as version 10.0

    Importantly this tutorial worked perfectly. This is the most uptodate ( as of Jan 2010) libflashplayer.so flashplayer 10 installation that works perfectly. I can now enjoy my Hulu desktop on my linux box, thanks to you

  14. SuSE 11.1 + FF 3.6 worked like a charm with the script. Thank you.

  15. Perfect! quick and easy to use. Thank you!

  16. Thank you thank you thank you thank you

  17. you are great
    thank you very much

  18. Yes ! you have saved me a ton of time

  19. Great script, tnx a lot, but the version native of flash 64Bits not work in some channel in justin.tv and metacafe :(

  20. Thanks so much, it works great!

  21. BBC flashplayer crashes before playing them but Youtube works fine. I am using Ubuntu 9.10 and Firefox 3.5.7. Obviously 64-bit Ubuntu as well! Any ideas? Oh by the way great script!

  22. freaking awesome… one stop fix for all my flash player woes… you are brilliant!!! thank you!

  23. Any plans on updating this script to the latest alpha?

  24. NWM. I just exchanged *libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz with libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz. (In my case I had to change sudo killall -9 firefox with sudo killall -9 firefox-bin)

  25. Thank you so much! Your a big help to newbies like me.
    Keep on posting! I’ll check your site once in a while.
    Thanks again! :D

  26. I’m new to linux and Adobe didnt bother putting instructions or even a download for 64 bit linux on their site! I got it from Package manager and i was dead lost on waht to do. Thanks so much! Just download it and ./file, cant get easier than that.

  27. Big hand for you! It works flawlessly.

  28. Thanks for the instructions, however not only this version, but the newest February 2010 version from http://labs.adobe.com/downloads/flashplayer10_64bit.html has NO SOUND.

    Is there any way to change sound libraries with Flash? I’m thinking to force it to use Alsa instead of OSS or whatever it’s currently using. I have no clue what it’s currently using. Obviously it’s not using the system Alsa or I’d hear something… right? Thanks, Vic

  29. Great job Romeo! Had huge trouble finding a solution that actually worked.

  30. tnx. works perfect for ubuntu 9.10 64bit

  31. Meh, this works but for me firefox crashes every time you leave a page with flash on it. :-|

    I hate adobe.

  32. Thank you, I was looking for a quick how-to and this did the job perfectly.

  33. i’ve updated the scripts today to grab the latest version of the flash player for 64bit

  34. This is a life saver. Not being able to watch BBC iplayer was driving me mad.

    Cheers Romeo :)

  35. yeaaaaaaaaaah : D

    i love youtube again

    a loooot of thanks!!

  36. Confirming your update works. Just installed on Ubuntu Hardy-64 and all seems fine. Add another “thanks” to your list.


Leave a comment


No trackbacks yet.

Tag Cloud

Categories

Archives

Akismet

Blogroll

Ads