Getting 64 bit flash to work in Google Chrome on Linux

I was having trouble with the chromium browser working with gmail.
A friend was having no problems, but he was using chrome direct from google. I installed that, but it said the flashplayer was out of date.
The upgrade isn’t automatic, and I struggled a bit to get it going. I’m sharing this to save folks some time.

Maybe it’s documented easily somewhere, but it wasn’t obvious to me, and after trying several googled answers, this is what worked for me:

  1. Download the 64 bit (experimental) plugin from adobe labs
    http://labs.adobe.com/technologies/flashplayer10/square/
  2. Extract libflashplayer.so from the tgz archive
  3. sudo mv libflashplayer.so /usr/lib/mozilla/plugins

Restart chrome and it should be picked up. Test with youtube, and enter about:plugins in the location bar and it should show up there. It wasn’t obvious to me that chrome would be looking in a mozilla directory, but there you go!

I don’t know if it’s necessary, but I also removed (renamed actually)
/var/lib/flashplugin-installer/npwrapper.libflashplayer.so
(which I found by putting about:plugins in the location bar of chrome.)