Install native 64bit Flash Player 10 on Linux

EDIT 4 (14 July 2011): Adobe released Adobe Flash Player 11 beta 1 so i’ve wrote a tutorial on how to install adobe flash player 11 on linux 64 bit

EDIT 3 (17 Sept 2010): Adobe launched Adobe┬« Flash┬« Player “Square” so i’ve put together a tutorial on how to install adobe flash player square on linux

EDIT 2: Libflashplayer is now hosted on this site since Adobe killed the URL. It’s not anything official or whatever, just a temp home :)

EDIT: updated the scripts to install the 64-bit Flash Player 10 alpha refresh for Linux that was released on February, 2010.

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.c[email protected]

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 ~
# since adobe is not hosting libflashplayer anymore, the lib is downloaded from my site.
# wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
wget http://www.myscienceisbetter.info/flash-player/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

This article is translated to Serbo-Croatian language by Anja Skrba from Webhostinggeeks.com.

196 thoughts on “Install native 64bit Flash Player 10 on Linux”

  1. Great work, man! Thanks! :D

    With some minor adjustments, it works for Debian too.
    Basically, all you need is to substitute ‘firefox’ with ‘iceweasel’.

  2. wow. thank you for this. it took me a while to find this..everything else i found just did not work. Great job.

  3. Worked like a charm, thanx !

    Got to say tho;

    First thing i got to see after running your script was Oprah shaving dr Phill’s mustache. So now I’m wondering if it wasn’t a mistake after all…

  4. I am a new to linux user. I grabber the script but don’t know what to do next. Please help.

  5. Between grabbing it and chmod +x and execute , and ./file, is where I need help. I have no idea what they mean. What specifically do I do with the script that I downloaded?

  6. Thanks! After a heap of trouble, your file provided an easy way to get the BBC iPlayer running in Firefox on Ubuntu 10.04. Cheers!

  7. i had to adjust the paths for the symbolic links on fedora 12 64bit.

    ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib64/mozilla/plugins/
    ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib64/xulrunner-1.9.1/components

    the paths provided didnt exist on my system and was preventing from firefox (and i guess xulrunner stuff) from actually seeing/using the installed plugin

  8. Thank you so much. Early I had to switch windows in virtual box to get flash 10. This is a nice script.
    Thanks again…

  9. This is no longer working. I am new to to linux and love it so far except the flash player is out of date. I am using Fedora 13 64. I used your code but the url does not work.

  10. Thanks!! Great tutorial, and simple instructions!! It works on Ubuntu 10.4 Lucid Lynx 64 bit.

  11. I run the script ok on my 64 bit Ubuntu 8.10 and Firefox 3.5.3, but no flash player is installed in Firefox, Although libflashplayer.so is in /usr/lib/mozilla/plugins/ directory. Please help.

    ———————————————————————–
    umart01@ubuntu01:~/Inastall_SW_HW$ ./native-64bit-flash-installer.sh
    Stopping any Firefox that might be running
    [sudo] password for umart01:
    firefox: no process killed
    Removing any other flash plugin previously installed:
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package gnash is not installed, so not removed
    Package gnash-common is not installed, so not removed
    Package mozilla-plugin-gnash is not installed, so not removed
    Package swfdec-mozilla is not installed, so not removed
    Package libflashsupport is not installed, so not removed
    The following packages were automatically installed and are no longer required:
    texlive-common libsgmls-perl libgpg-error-dev docbook-utils docbook-dsssl
    libsp1c2 lmodern libostyle1c2 texlive-pstricks docbook-xsl texlive-base-bin
    texlive-latex-base texlive-fonts-recommended libdbd-sqlite3-perl sp jadetex
    texlive-generic-recommended texlive-latex-recommended openjade
    texlive-latex-recommended-doc dvipdfmx latex-beamer gettext prosper tipa
    asciidoc texlive-latex-base-doc sgmlspl latex-xcolor cvs libidn11-dev
    libtasn1-3-dev texlive-fonts-recommended-doc pgf libcurl4-gnutls-dev
    docbook-xsl-doc-html tcl8.5 libgcrypt11-dev texlive-base texlive-doc-base
    texlive-base-bin-doc libgnutls-dev libsvn-perl xmlto texlive-pstricks-doc
    tex-common libldap2-dev
    Use ‘apt-get autoremove’ to remove them.
    The following packages will be REMOVED:
    flashplugin-nonfree* nspluginwrapper*
    0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
    After this operation, 651kB disk space will be freed.
    (Reading database … 209252 files and directories currently installed.)
    Removing flashplugin-nonfree …
    Purging configuration files for flashplugin-nonfree …
    dpkg – warning: while removing flashplugin-nonfree, directory `/usr/lib/iceweasel/plugins’ not empty so not removed.
    Removing nspluginwrapper …
    dpkg – warning: while removing nspluginwrapper, directory `/usr/lib/firefox/plugins’ not empty so not removed.
    Processing triggers for man-db …
    Installing Flash Player 10
    –2010-06-18 21:20:11– http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
    Resolving download.macromedia.com… 125.252.203.191
    Connecting to download.macromedia.com|125.252.203.191|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 3731155 (3.6M) [application/x-gzip]
    Saving to: `libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz’

    100%[======================================>] 3,731,155 159K/s in 23s

    2010-06-18 21:20:34 (159 KB/s) – `libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz’ saved [3731155/3731155]

    libflashplayer.so
    Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it.
    umart01@ubuntu01:~/Inastall_SW_HW$ cat /etc/issue
    Ubuntu 8.10 \n \l

    umart01@ubuntu01:~/Inastall_SW_HW$

  12. Games on Newgrounds work fine, but with no sound. Youtube video’s and Myspace music are being played at double speed with no sound though..

  13. Thank you for showing me the location of the 64 bit .so. I could make Chrome (build 5.0.375.99) use the plug-in using the following steps

    #gzip -dc libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz | tar -xvf -
    #mkdir /opt/google/chrome/plugins
    #mv libflashplayer.so /opt/google/chrome/plugins

  14. thanx for the help. I had been trying for three days on other threads but this one worked fine for me.

  15. Easy steps:

    (1) Remove currently installed versions of Flash.

    sudo apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla

    (2)Download the 64-bit Flash plugin and extract that file:

    wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz && tar xvfz libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz

    (3)Put the file into /usr/lib/flashplugin-installer/libflashplayer64.so or /usr/lib/firefox-addons/plugins/libflashplayer64.so or (or in ~/.mozilla/plugins for a single-user install):

    sudo mv libflashplayer.so /usr/lib/firefox-addons/plugins/libflashplayer64.so

    (or)

    sudo mv libflashplayer.so /usr/lib/flashplugin-installer/libflashplayer64.so

    (4)mk into it.

    sudo mkdir /usr/lib/flashplugin-installer

    (5)Install the link (60 is the priority, you can use any value 0-100)

    sudo update-alternatives –install /usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so xulrunner-addons-flashplugin /usr/lib/flashplugin-installer/libflashplayer64.so 60

    Restart the firefox .. now check youtube.

    All the best

  16. WOW DUDE !!! You’re DA MAN !!!!

    Seriously, i’ll keep a high priority bookmark on your site !!!

    Thanks !
    Merci !
    Danke!
    Klik Pudik ! (Learn to speak martian on martiantalk.com)

  17. Thank you soooooooo much for this. I spent 6 months ignoring youtube issues on 9.10. When I upgraded to 10.0.4 and found even more issues I thought I would kill somebody. Then I run this one little script and youtube works like it should.

  18. How UN-original of me : another “Thank you” message !
    Now I can watch Regina Spektor’s videos again :-)

  19. Sir… You are the man! This has been driving me nuts… But your script worked perfectly…

  20. Running the commands in your script was effortless.
    Flashplayer now works flawlessly for me.

    I love you.

    ;)

  21. This was absolutely necessary to have the capability to view You-tube videos so that my daughter will be more akin to boot Ubuntu instead of Vista on her Laptop.

    Version 10.04 (lucid) amd64 / Linux Kernel 2.6.32-24-generic
    Firefox 3.6.8

    Great job, thanks again.

  22. actually, windows doesn’t has native 64bit flashplayer, as far as i know :P

    installing the 32bit flashplayer in a wrapper is pretty easy by default in linux nowadays.

  23. Glad to find a link to the Linux 64-bit Flash plugin.
    Now if only they had the 10.1 version up at a similar URL… :P

  24. This didn’t work on CentOS 5.4 and firefox 3. Doesn’t show up as a flash plugin in about:plugins, will have to go back to the wrapper.

  25. Doesn’t work on Fedora 13 with su – …

    Stopping any Firefox that might be running
    firefox: no process killed
    Removing any other flash plugin previously installed:
    Loaded plugins: presto, refresh-packagekit
    Setting up Remove Process
    No Match for argument: flash-plugin
    No Match for argument: gnash
    Package(s) gnash available, but not installed.
    No Match for argument: gnash-plugin
    Package(s) gnash-plugin available, but not installed.
    No Match for argument: swfdec
    No Match for argument: swfdec-mozilla
    Resolving Dependencies
    –> Running transaction check
    —> Package nspluginwrapper.x86_64 0:1.3.0-13.fc13 set to be erased
    –> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package Arch Version Repository Size
    ================================================================================
    Removing:
    nspluginwrapper x86_64 1.3.0-13.fc13 @updates 450 k

    Transaction Summary
    ================================================================================
    Remove 1 Package(s)

    Installed size: 450 k
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Erasing : nspluginwrapper-1.3.0-13.fc13.x86_64 1/1

    Removed:
    nspluginwrapper.x86_64 0:1.3.0-13.fc13

    Complete!
    Installing Flash Player 10
    fedora-native-64bit-flash-installer.sh: line 19: wget: command not found
    tar: libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Exiting with failure status due to previous errors
    cp: cannot stat `libflashplayer.so’: No such file or directory
    Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it.
    ln: target `/usr/lib/firefox-addons/plugins/’ is not a directory: No such file or directory
    ln: target `/usr/lib/xulrunner-addons/plugins/’ is not a directory: No such file or directory

  26. Thanks — I’ve been trying to load the Flash Player Square and nothing was working (and am new to Ubuntu and Linux). This worked like a charm

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>