linux下为firfox安装flash player

1.去官网下载×.tar.gz包,如:flash_player_npapi_linux.x86_64.tar.gz

2.解压

tar -zxvf flash_player_npapi_linux.x86_64.tar.gz

3.安装方法可以参照,解压文件中的readme.txt

Installing using the plugin tar.gz:
    o Unpack the plugin tar.gz and copy the files to the appropriate location.  
    o Save the plugin tar.gz locally and note the location the file was saved to.
    o Launch terminal and change directories to the location the file was saved to.
    o Unpack the tar.gz file.  Once unpacked you will see the following:
        + libflashplayer.so
        + /usr
    o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
    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

如果看不懂可以看下面的方法:

1)找到火狐的插件文件夹

root@debian:/home/kevin/下载# find / -name mozilla
/usr/share/ca-certificates/mozilla
/usr/share/mozilla
/usr/lib/mozilla
/home/kevin/.cache/mozilla

2)可以看到文件夹/usr/lib/mozilla,插件文件夹就在里面

root@debian:/home/kevin/下载# ls /usr/lib/mozilla
extensions  plugins

3)复制 libflashlayer.so 到 /usr/lib/mozilla/plugins

cp libflashlayer.so /usr/lib/mozilla/plugins

4)复制解压文件usr中所有文件到/usr

sudo cp -r usr/* /usr

至此重启浏览器可以使用flash player

转载于:https://www.cnblogs.com/SirPi/p/9738128.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值