Iceweasel默认的flash插件是可以直接到诸如youku和youtube去看视频的,但是始终却打不开那种flash开发的游戏,没有细究原因。

这几天按照google搜来的众多安装flash插件方法都以失败告终,并且搞的Iceweasel只要启用原有的flash 9插件就会崩溃,疯了!

一个同事也在使用Debian,他做一些flash的开发和调试工作,那当然比我要急一些,在他的强烈要求下,我决定在晚饭之后解决这个问题,最后终于搞定,NND,长舒了一口气。

解决过程:
第一步,当然是去google使劲搜索了,网上的教程转来转去,始终都是那篇老外的翻版,也许当时的浏览器版本低~
然后去Adobe官方去下最新的flash,居然没有amd64版的,x86_64怎么了?

N久之后我只好去packages.debian.org碰碰运气,搜索flash发现了一个软件包:flashplugin-nonfree,看了介绍,很符合要求:

Adobe Flash Player – browser plugin
flash
This package will download the Flash Player from Adobe. It is a Netscape/Mozilla type plugin. Any browser based on Netscape or Mozilla can use the Flash Player. This package currently supports the following browsers: Mozilla, Mozilla-Firefox, Firefox, Iceweasel, and Iceape. Also Galeon and Epiphany can use the Flash Player. Konqueror can also use the Flash Player if konqueror-nsplugins is installed.

WARNING: Installing this Debian package causes the Adobe Flash Player to be downloaded from www.adobe.com. The End User License Agreement of the Adobe Flash Player is available at www.adobe.com.

下载下来,dpkg -i,安装过程中,发现软件会自动下载一个libflashplayer, 而且是x86_64的,这不就是Adobe官方的动态库吗?为虾米不发布在getflash的页面呢?又不是beta?现不管了,现安装。
http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
解压得到一个libflashplayer.so,并且拷贝到Iceweasel的plugins目录下,cp libflashplayer.so /usr/lib/mozilla/plugins/
N久才发现/usr/lib/mozilla/plugins/才所Iceseasel的插件目录,从那些插件的名字搜索得来的,并不是网上一堆一堆文章所说的~/.mozilla/plugins,而且没有还叫你新建,难道是Iceweasel2的默认目录?

有点跑题了,继续哈。
最后一步,重启Iceweasel,找个flash游戏网站,测试下吧,flash10支持搞定!