Me and U(buntu)

My Ubuntu Experience!

Real 64-bit Flash on amd64

Posted by ushimitsudoki on November 18, 2008

Hooray! Abode has released an actual 64-bit version of Flash! No more messing with nspluginwrapper or such trickery to install it.

It’s listed as a “prerelease” version on the Adobe site, but seems to be working fine[1] for me so far on the sites I have tried it.Here’s what I did to get it working:

Remove any old versions

To clean up all the old ndiswrapper stuff I did a:

sudo apt-get remove nspluginwrapper flashplugin-nonfree

I also checked for other ones I might have manually installed using:

jason@apollo:~/Desktop$ locate flash | grep -v home | grep so/usr/lib/firefox-addons/plugins/npwrapper.libflashplayer.so
/usr/lib/iceweasel/plugins/flashplugin-alternative.so
/usr/lib/iceweasel/plugins/npwrapper.libflashplayer.so
/usr/lib/libvisual-0.4/morph/morph_flash.so
/usr/lib/mozilla/plugins/flashplugin-alternative.so
/usr/lib/mozilla/plugins/libflashplayer.so
/usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
/usr/lib/openoffice/program/libflash680lx.so
/usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so

I removed the flash ones (not the morph and openoffice ones.)

Download new version

Grab it from the download page. It is a .tar.gz, don’t expect a .deb.

NOTE: The version may have been updated, so pay attention to the file name.

Extract and install

jason@apollo:~/Desktop$ tar xvf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
libflashplayer.so
jason@apollo:~/Desktop$ cp libflashplayer.so ~/.mozilla/plugins/

Check the installation

That’s it! Open up firefox and check “about:plugins” from the address bar. You should see something like this down at the bottom:

64-bit Flash Installed

64-bit Flash Installed

Updated to add footnote:

[1] “working fine” in this case is definitely a your-mileage-may-vary situation. Unlike the 32-bit version, when this Flash crashes, the entire browser shuts down. I probably hit one site every couple days that crashes Flash and the browser.

15 Responses to “Real 64-bit Flash on amd64”

  1. [...] UPDATE: Adobe now has a real 64-bit version out. Read my blog entry about that, instead of messing with this old [...]

  2. Me said

    Holy geez batman it works. 32bit with nspluginwrapper did not work. It was listed in the about:plugins tab but this one actually is functional. I can’t wait for this to come out of alpha.

  3. Vincenzo Romano said

    For a system wide plugin installation, you can run this:

    sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins

    Please, be warned also that it’s not to be put into /usr/lib/mozilla/plugins, at least as of Ubuntu 8.04.1 and Firefox 3.0.4.

    In any case, this web page is great!

  4. Vincenzo,

    Thanks for the info and the kind words!

  5. [...] already blogged on how I installed the first alpha. This time, just download, unzip, and copy the resulting .so over into ~/.mozilla/plugins — [...]

  6. matty said

    ok… so… i did this (to /usr/lib/firefox-addons/plugins)… and now… i don’t even get the “gray box” that i got before… i loaded “about:plugins” and the flashplayer plugin shows… but no flash… this is really bugging me… thoughts?

    Matt

  7. I automated the process of installing flash 32bit and 64bit in Ubuntu Desktop. It even works with pulseaudio. It works in feisty, gutsy, hardy, and intrepid.

    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

  8. There seems to be some problem.
    In a rather random way FF freezes and you need to kill it.
    It’s not related to browsing a flash site, though.
    I have been able to do the following dump:

    $ ps ax -o pid,wchan=WIDE-WCHAN-COLUMN -o comm | grep firefox
    21398 futex_wait firefox

    Then with gdb I have attached myself to the “running” process and have got the following stack:

    (gdb) bt
    #0 0×00007f5b14925cc5 in pthread_join () from /lib/libpthread.so.0
    #1 0×00007f5af7844514 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #2 0×00007f5af76eaadc in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #3 0×00007f5af75dd2b3 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #4 0×00007f5af77a6c0f in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #5 0×00007f5af7487bd8 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #6 0×00007f5af74830fa in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #7 0×00007f5af747be8e in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #8 0×00007f5af7480379 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
    #9 0×00007f5b1299fe36 in ?? () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #10 0×00007f5b125730fe in ?? () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #11 0×00007f5b1257337d in ?? () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #12 0×00007f5b12b4b036 in ?? () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #13 0×00007f5b12b202f6 in ?? () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #14 0×00007f5b12aa4a1d in ?? () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #15 0×00007f5b12944721 in ?? () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #16 0×00007f5b123ca082 in XRE_main () from /usr/lib/xulrunner-1.9.0.8/libxul.so
    #17 0×00000000004016b4 in ?? ()
    #18 0×00007f5b13c1c466 in __libc_start_main () from /lib/libc.so.6
    #19 0×00000000004011b9 in ?? ()
    #20 0×00007fff1cd576c8 in ?? ()
    #21 0×000000000000001c in ?? ()
    #22 0×0000000000000001 in ?? ()
    #23 0×00007fff1cd58bb5 in ?? ()
    #24 0×0000000000000000 in ?? ()

    This doesn’t make a lot of sense to me, apart that there could be some race condition in the plugin.

  9. Brian said

    Thanks, Anthony! Your fix worked like a charm!!

    Ubuntu Intrepid Ibex 64-bit

  10. john_doe said

    Hello –

    This worked for me, with the difference that I didn’t have a ./mozilla at home, so I moved libflashplayer.so directly to /usr/lib/mozilla/plugins

    Then I changed the permissions to

    -rwxrwxrwx 1 root root 9543400 2009-04-12 12:55 libflashplayer.so

    because that’s what I saw withthe other plugins, like:

    lrwxrwxrwx 1 root root 44 2009-04-12 04:05 libtotem-basic-plugin.so -> ../../totem/default/libtotem-basic-plugin.so
    lrwxrwxrwx 1 root root 42 2009-04-12 04:05 libtotem-gmp-plugin.so -> ../../totem/default/libtotem-gmp-plugin.so
    lrwxrwxrwx 1 root root 44 2009-04-12 04:05 libtotem-mully-plugin.so -> ../../totem/default/libtotem-mully-plugin.so
    lrwxrwxrwx 1 root root 50 2009-04-12 04:05 libtotem-narrowspace-plugin.so -> ../../totem/default/libtotem-narrowspace-plugin.so

    Are the permissions set right (i.e., “am I safe ?”)

  11. john_doe said

    Oh, I might also add that I cp’ed the libflashplayer.so also to that /usr/lib/opera/plugins and so now flash works with Opera too.

  12. JD,
    using 777 (aka rwxrwxrwx) permission for system wide executables is hardly a good choice.
    The file could be modifiable by anyone!
    All other plugins have those permissions because they are symlink: real permissions are on the target files.
    A good reasonable choice coult be 755 (aka rwxr-xr-x) or 644 (aka r-xr–r–).
    Anyway, I had to delete the Adobe 64bit plugin as it was causing browser crashes and high CPU loads.

  13. Andrew said

    Thanks a lot for this!

  14. [...] Bis die Schlacht zwischen Adobe, Microsoft, und Sun verloren ist, habe findet sich hier eine Lösung, die wohl bis zum nächsten Update halten [...]

  15. sublimevelo said

    Thanks a bunch. Worked like a charm. ubuntu 9.0.4 64bit

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>