debian firefox火狐安装flash插件,通过查找资料使用命令“apt-get install flashplugin-nonfree”

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了debian firefox火狐安装flash插件,通过查找资料使用命令“apt-get install flashplugin-nonfree”相关的知识,希望对你有一定的参考价值。

debian firefox火狐安装flash插件,通过查找资料使用命令“apt-get install flashplugin-nonfree”,依然没有效果,浏览网页均提示安装插件,求指导。

参考技术A 先在官网下载install_flash_player_11_linux.i386.tar.gz再把它解压出来,里面看到libflashplayer.so文件和usr目录。把libflashplayer.so复制到浏览器插件目录下,usr整个目录复制到/usr下。 参考技术B 用google-chrome吧 自带flash插件 参考技术C sudo apt-get install flashplugin-installer

debian下为firefox安装flash插件

从Adobe官网下载flash:http://get.adobe.com/cn/flashplayer/

我下载的版本是:flash_player_npapi_linux.x86_64.tar.gz
找到正确目录

[email protected]:~$ whereis firefox
firefox: /usr/bin/firefox
[email protected]:~$ find /usr/ -name firefox
/usr/bin/firefox
find: `/usr/lost+found‘: Permission denied
[email protected]:~$ find /usr/ -name mozilla
/usr/share/mozilla
/usr/share/ca-certificates/mozilla
find: `/usr/lost+found‘: Permission denied
/usr/lib/mozilla
查看plugins 到底放在哪里

[email protected]:~$ ls /usr/share/mozilla/
extensions
[email protected]:~$ ls /usr/lib/mozilla/
extensions  plugins
Ok,找到插件目录 /usr/lib/mozilla/plugins
解压下载的插件安装包
[email protected]:~/Downloads$ tar -zxvf flash_player_npapi_linux.x86_64.tar.gz
找到libflashplayer.so文件和usr/这个文件夹,复制libflashplayer.so/usr/lib/mozilla/plugins

[email protected]:~/Downloads$ sudo cp libflashplayer.so /usr/lib/mozilla/plugins/


把usr/文件夹复制到/usr

[email protected]:~/Downloads$ sudo cp -r usr/* /usr

重启浏览器,插件加载成功。

 

以上是关于debian firefox火狐安装flash插件,通过查找资料使用命令“apt-get install flashplugin-nonfree”的主要内容,如果未能解决你的问题,请参考以下文章

Firefox浏览器怎么安装adobe flash player插件

ubuntu14.04 为Firefox安装flash插件

centos7系统,firefox浏览器无法装上flash插件

怎么设置火狐浏览器才能允许运行FLASH功能

如何卸载删除火狐(Firefox)插件(Plugins)

火狐浏览器里的flash被禁用了怎样启用