在LinuxMint中对firefox进行手动安装flash插件


/*********************************************************************

 * Author  : Samson
 * Date    : 11/15/2014
 * Test platform:
 *              3.13.0-24-generic
 *              GNU bash, 4.3.11(1)-release 
 * *******************************************************************/

浏览时遇到无flash插件时,到官网下载一个:

http://get.adobe.com/cn/flashplayer/

下载的是:install_flash_player_11_linux.i386.tar.gz

然后解压此压缩包,然后按照常规先看Readme.txt文件,可以看到是要将解压的插件的库复制到浏览器插件目录下,还要将usr下的文件复制到系统的/usr目录下,原文档中如下:
o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
+ cp libflashlayer.so <BrowserPluginsLocation>
o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
+ sudo cp -r usr/* /usr

那么现在问题是如何找到浏览器(firefox)存放插件的目录呢?

firefox的公司是mozzilla,那么库应该放的目录即在:
/usr/lib/mozilla/plugins/

将libflashlayer.so复制到/usr/lib/mozilla/plugins/,
再将usr下的复制到系统下的usr目录下;

然后重启firefox即可使用flash插件了。

相关内容