My Science Is Better

17Nov/0877

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 (77) Trackbacks (0)
  1. Really thank you for the advice!!Very helpful!Keep up the good work!

  2. Glad this was helpful for you, katerina :)

  3. thanks all right, very, very gooooooood

  4. i followed your instructions from echo “Installing Flash Player 10″ (skipped everything before that and had firefox running the same time) and it installed fine on latest version of ubuntu 64 :D

    THANK YOU !!!!!! everyone should do this on their first install of ubuntu 64:)

    (only problem i had was with entering my password… caps lock was on and i didnt know it:@)

  5. Awesome! Thank you so much. The Bash script worked like a charm.

  6. Not all distros use dpkg/sudo, including Slackware, Fedora, SuSE, etc.

  7. Thank you, it really helped.

  8. I’m using openSUSE in my laptop. I tried your method to install flash player, but it doesn’t work. I had to create new folders, because they were not in the /usr/lib/.

    go-linux-go:/usr/lib # mkdir mozilla
    go-linux-go:/usr/lib # mkdir mozilla/plugins
    go-linux-go:/usr/lib # mkdir firefox-addons
    go-linux-go:/usr/lib # mkdir firefox-addons/plugins
    go-linux-go:/usr/lib # mkdir xulrunner-addons
    go-linux-go:/usr/lib # mkdir xulrunner-addons/plugins

    However I made two softlink as you mentioned.

    go-linux-go:/usr/lib # ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
    go-linux-go:/usr/lib # ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

    and I got the result ,

    uwan@go-linux-go:/usr/lib/firefox-addons/plugins> ls -l
    total 0
    lrwxrwxrwx 1 root root 42 2009-09-11 18:59 libflashplayer.so -> /usr/lib/mozilla/plugins/libflashplayer.so

    uwan@go-linux-go:/usr/lib/xulrunner-addons/plugins> ls -l
    total 0
    lrwxrwxrwx 1 root root 42 2009-09-11 19:01 libflashplayer.so -> /usr/lib/mozilla/plugins/libflashplayer.so

    but flash player does not work in youtube.com

    can you help me, please?

  9. Props for fine simple script for install 64 bit flash on linux. No more ndiswrapper for me.

  10. Thanks for pointing me in the right direction!

  11. Thanks for the excellent post, the flash player is now version libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz

  12. Awesome, script worked like a charm, I’ve been fooling around with this issue for quite a while :)

  13. omg! you’re awesome, thank you so much for making this work! the shell script worked perfectly to get my flash working in fullscreen on a Kubuntu 9.04 64bit install. You’re a pro and I really appreciate the script. Cheers,

    -dv-

  14. Hello Romeo!

    I have F11 64-bit and I want to install the Flash plugin. The wget command doesn’t work for me:

    [vali@localhost ~]$ wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
    –2009-10-15 23:37:44– http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
    Rezolvare download.macromedia.com… 88.221.35.191
    Connecting to download.macromedia.com|88.221.35.191|:80… conectat.
    Cerere HTTP trimisă, se aşteaptă răspuns… 404 Not Found
    EROARE 2009-10-15 23:37:45 404: Not Found.

    Do you have any ideas?

  15. Problem solved.
    Adobe released another version of libflashplayer and changed the name. You can find it here:
    http://labs.adobe.com/downloads/flashplayer10.html

  16. Just ran the script and succeeded in seconds. Many thanks for this.
    Does the same method work for Epiphany as well?

  17. That worked awsome.

  18. Great! The skript worked perfect on my Ubuntu 9.04. Thank you!

    DJ

  19. y0 u’re G3N1U5

    worked PERFECT

    epic epic epic

    congrats dude you rule the world now ;)

  20. Romeo, thanks a lot!

    I have taken your script and modified it so that it automagically installs the latest version. I hope you don’t mind! It’s available on my blog: http://constantcuriousity.blogspot.com/2009/10/automatic-adobe-flash-on-amd64.html

  21. Had a flash problem quite a while and didn‘t find a solution but with your script everything works fine! Thanks a lot! :)

    Oh, and btw it works in Ubuntu 9.10.

  22. thanks a lot!! it worked just at the first try ;)

  23. I tried your script in 9.10 and it appears to create an error crashing at any site with flash. Help on troubleshooting this and getting it to work would be awesome.

  24. I installed a clean ubuntu karmic koala 9.10 and the script worked flawless for me. Did you installed any other plugins for FF that might break FF in conjunction with flash?

  25. The url seems to have changed, I got 404, the new url, which worked for me was
    http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz

    thankyou for this.

  26. Thank you very much, this script was very helpful. And by the way, working fine for my karmic koala 9.10 just right now, smoothly.

  27. Finally got it working on Jaunty! Thanks, buddy!

  28. :) thank you, worked fine !

  29. Thanks alot, this script helped, couldn’t get flash working on my desktop, but it was working great on my laptop. this script fixed my Karmic Koala 9.10 on my desktop. Laptop is 32bit….lol. I just figured out why it worked fine.

  30. Just wanted to say “thanks” for your time and effort. The Ubuntu script worked perfect on my 9.10 64 bit version.

    Best regards,

  31. Thanks again!

  32. Thank you,

    I am using Karmic Koala with 2.6.31-15 kernel. Everything is okay. Good news is that I can now run heavy weight flash applications…

  33. Glad this script is still helping people :)

    OpenSource FTW!!

  34. Thanks for your instructions and to helix for the latest version.

  35. excelente.. funciona 100% en ubuntu 9.10
    saludos

  36. On december 8. they have released new version 10.0.42.34. Can you fix this to your script?

    Thanks

    http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz

  37. This worked for me but had some very weird side effects. I lost all of my emails and the settings for evolution, all the videos in my videos folder, and a seemingly random bunch of documents from the documents folder. Any ideas why?

  38. Ian,

    the script should not do that, as you can see for yourself if you check it out. You lost all those files from another source.

    Regards,
    R

  39. Updated the script!

    Thanks for the tip

  40. Great! Fix my flash problem – I was about to install the 32bit version of Ubuntu! this is great! Thanks.

  41. Thank you! The only way I have found to get Adobe Flashplayer working on Ubuntu Linux 9.19 x64! Thanks again!

  42. thanks man! your script worked just fine! have a nice day.

  43. if you have Fedora 12 just delete from the script:

    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/

    and just copy:

    cp libflashplayer.so /usr/lib64/mozilla/plugins/

  44. Thanks!

    Your shell script worked nicely for Ubuntu 9.10 x64 on a Dell 1420 laptop.

    It’s a great blessing that you’ve made the effort to not only find a fix, but you’ve gone to the trouble to codify and publish it.

    Thanks again,
    Ken

  45. To everyone that installed OSS4 as sound driver instead ALSA on Ubuntu 9.10 (Karmic Koala):
    * The script published on this page makes the sound of flash player work great !!

    Thank you very much!

  46. GENIUS! Thanks so much! Worked perfectly.

  47. Dude thank you very much. Now my 64 bit flash plugin under Firefox isn’t choppy anymore. Thank you very much… Keep it up!

  48. Thank you, Worked perfectly.

    I am using Karmic Koala with 2.6.31-16-generic kernel. Everything is okay. Your script worked just fine!
    Thanks so much!

    Lo use en Karmic Koala con kernel 2.6.31-16-generic. Todo salió bien. Tu script funcionó perfecto!
    Muchas gracias.


Leave a comment


No trackbacks yet.

Tag Cloud

Categories

Archives

Akismet

Blogroll

Ads