My Science Is Better

17Nov/0869

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 FINALY 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.42.34.linux-x86_64.so.tar.gz
tar zxvf libflashplayer-10.0.42.34.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.42.34.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.

Comments (69) 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


Leave a comment


No trackbacks yet.

Tag Cloud

Categories

Archives

Akismet

Blogroll

Ads