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

时间:2023-03-08 23:57:41
在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插件了。