liunx 安装 adobe flash

来源:互联网 发布:mac php extensiondir 编辑:程序博客网 时间:2024/05/18 01:02

1. 从Adobe下载Flash安装程序,并且解压。

tar -xzvf install_flash_player_10_linux.tar.gz

2. 把解压出来的“libflashplayer.so” 复制到 /usr/lib/mozilla/plugins 目录下。

sudo cp libflashplayer.so /usr/lib/mozilla/plugins

3. 执行以下命令:

nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

如果nspluginwrapper没装的话,安装一下:

sudo apt-get install nspluginwrapper

4. refresh浏览器,试试能不能看Flash了。

 

SPluginWrapper

NSPluginWrapper is a cross-platform Netscape 4(NPAPI) compatible plugins viewer. It makes itpossible to use plugins that are not available yetto a specific platform. For example, you can usethe Adobe Flash Player 9 (Linux/i386) plugin onLinux/x86_64, NetBSD, and FreeBSD platforms alongwith a native JVM in the same browser.NSPluginWrapper is also useful to confine nativeplugins into a specific execution domain forreliability and security purposes.


原创粉丝点击