Tuesday, April 10, 2007

Adobe Flash plugin on Firefox / Iceweasel on Debian Etch AMD64 / EM64T Platforms

I had a little trouble setting up the flash plugin on the my new AMD X2 machine running Debian Etch. So I summarise what I did to finally get it working...

Firstly,install the necessary 32bit libraries - ia32-libs and ia32-libs-gtk

1) Install nspluginwrapper
It is available at http://packages.debian.org/unstable/utils/nspluginwrapper . Download the .deb file and do an dpkg -i nspluginwrapper-xxversion.deb

2) Get the Adobe Flash
The tarball is available at http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash

3) (Un)gzip and untar the flash tarball

4) Copy the libflashpalyer.so and flashplayer.xpt to /usr/lib/mozilla/plugins

5) Run the following command
/usr/lib/nspluginwrapper/x86_64/linux/npconfig -i /usr/lib/mozilla/plugins/libflashplayer.so
This will create a file named npwrapper.libflashplayer.so in the /usr/lib/mozilla/plugins directory.

6) Create links to the npwrapper.libflashplayer.so file in your firefox / iceweasel plugins directory (typically /usr/lib/firefox/plugins/ and /usr/lib/iceweasel/plugins /)

This should do the the trick...Check if the installation is fine by typing about:plugins in the address line. It should list Shockwave Flash as one of the plugins.

Now go enjoy YouTube