Google Chrome and Flash on Debian Squeeze 64-bit

May 26, 2011
I recently re-installed Debian Squeeze on my main machine. I’m using the 64-bit version along with 64-bit Chrome.

However, the 64-bit Chrome does not come with a built-in Flash player. Instead, it seems to be finding the plugin by searching the Mozilla plugin folder (/usr/lib/mozilla/plugins/), where it finds flash-mozilla.so, which is a symlink to /usr/lib/gnash/libgnashplugin.so, the Gnash flash plugin.

Don’t get me wrong; I’m happy to see how Gnash is looking, and I’m happy that a free software alternative exists. However, I’m not a FLOSS puritan; I’ll use the best tool for the job which, in my opinion, remains as the official Flash plugin.

So, how to install the Flash plugin?

Adobe says to refer to the browser documentation. Google’s docs mention Flash as being built-in for 32-bit, but I couldn’t find mention of how to install for 64-bit.

Here’s how I did it: since Chrome seems to be using the symlink in the mozilla folder, which is managed by Debian’s “alternatives” system, I installed the plugin and added it as an alternative.

Step 1: Download the 64-bit Flash Player plugin for Linux from http://labs.adobe.com/downloads/flashplayer10_square.html.

Step 2: Install the plugin as follows:

1
2
3
sudo mkdir -pv /opt/flashplugin
cd /opt/flashplugin
sudo tar -xf Step 3: Install the plugin as a flash-mozilla.so alternative:

1
2
3
4
5
sudo update-alternatives –install \
/usr/lib/mozilla/plugins/flash-mozilla.so \
flash-mozilla.so \
/opt/flashplugin/libflashplayer.so \
10
Step 4: Select the Adobe plugin for use as the active plugin:

1
sudo update-alternatives –set flash-mozilla.so /opt/flashplugin/libflashplayer.so
That’s it! Flash should now work. If it does not work immediately, restart Chrome and then it should. (As a side effect, the same plugin should now be the Firefox default as well, in case you use both browsers.)

posted in Linux by Paul Goins
http://www.vultaire.net/blog/2011/05/26/google-chrome-and-flash-on-debian-squeeze-64-bit/

Det här inlägget postades i Okategoriserade. Bokmärk permalänken.

Lämna ett svar

E-postadressen publiceras inte. Obligatoriska fält är märkta *