Tuesday, October 31, 2006

Debian HOW-TO : Flash 9

Last Revision : April 27th, 2007

Since October 18, Flash 9 is available (in beta version) for Linux. The official release is out since January 16, 2007.

Here is a quick how-to on how to install it.

In this tutorial, I use sudo to get root privileges.


  • Installation

To ease the installation process, install the package flashplugin-nonfree :

sudo apt-get install flashplugin-nonfree


For Debian Etch, Lenny, or Sid, that's all there is to it. The above mentioned package will take care of installing the latest Flash Player for you.

Debian Sarge users have a few extra steps to take care of though.


On Debian Sarge


Once you have flashplugin-nonfree installed, download Flash 9 directly like that :

wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz


Once you have the file, you can decompress it like that :

tar zxf install_flash_player_9_linux.tar.gz


To effectively install the plugin, first navigate to the right directory :

cd install_flash_player_9_linux/


Then install it like that :

sudo cp libflashplayer.so flashplayer.xpt /usr/lib/flashplugin-nonfree/


That's it, verify that the plugin is present by typing :

about:plugins


in Firefox address bar.



  • Notes


Konqueror users may have to "rescan" the available plugins so the changes take effects :

Settings -> Configure Konqueror... -> Plugins -> Scan for New Plugins

5 comments:

bonovoxmofo said...

It works! But in my case I decide to install the player on my home folder ~/.mozila/plugins/ then I rescan using Konqueror's and also did the about:plugins on the 'location' bar... :)

For FF works too, but be aware that the overwriting of the file will cause FF to crash, so you have to close all you browser windows first.

Hugues said...

Yes, that's a perfectly valuable way to do it too. Perhaps installing in the home folder is both simpler and safer.

Thanks for the feedback !

Anonymous said...

Didn't work for me. I got this at the end of the installation (Debian Etch).

2450K .......... .......... .......... .......... .......... 98% 105.26 KB/s
2500K .......... .......... .......... .......... ....... 100% 107.15 KB/s

22:10:41 (103.25 KB/s) - `./install_flash_player_9_linux.tar.gz' saved [2608602/2608602]

Download done.
md5sum mismatch install_flash_player_9_linux.tar.gz
The Flash plugin is NOT installed.

...

It said FLASH PLUGIN NOT INSTALLED.
Download no good? So I down load again...

claire:/usr/lib# apt-get install flashplugin-nonfree
Reading package lists... Done
Building dependency tree... Done
flashplugin-nonfree is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
claire:/usr/lib#

It's good?
But it was rejected earlier. Bad md5sum.

Any ideas?

Hugues said...

Hello,

This is a known bug in the flashplugin-nonfree Etch package.

See the details here:
http://bugs.debian.org/432755

One solution is to manually put the needed file, libflashplayer.so, in the /usr/lib/flashplugin-nonfree/ directory.

You can download the latest flash player from Adobe Labs site.

Thanks for reading,

Hugues

levent said...

I got the latest version from the ftp, and then installed with dpkg -i flashsomething.deb

Works perfectly.

The package is on the ftp but since it has not been approved by security, it is not listed in synaptics, or apt. So you have to do it manually.

Have fun.
Levent