ubuntu下安装firefox的flash插件

        最近新进了一台笔记本电脑,装了个双系统:win8.1和ubuntu,当然对于linux使用的还不是很熟练。这不,没事就多使用使用,今天在使用自带的Firefox打开网站的时候,发现弹出让安装插件的菜单,这个绑定的firefox并不自带flash插件,我进行了检测安装,可是联网很久还是无法安装。看样子需要下载手动安装了……

        于是在adobe flash官网(http://get.adobe.com/cn/flashplayer/)下载,下载tar.gz版本(注:adobe 提供了yum,rpm,tar.gz和APT四种版本)。下载完成之后,使用tar命令进行解压,看到三个文件:usr文件夹,libflashplayer.so库文件和 readerme.txt文本

        当然我们一个良好的习惯就是查看readerme.txt文件,其中详细介绍了各中格式的安装方法。

Installation instructions
-------------------------

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

Installing the plugin using RPM:
   o As root, enter in terminal:
          + # rpm -Uvh <rpm_package_file>
          + Click Enter key and follow prompts

Installing the standalone player:
   o Unpack the tar.gz file
   o To execute the standalone player,
          + Double-click, or
          + Enter in terminal: ./flashplayer

        对于tar.gz方法简单的翻译过来就是:

        1. 解压插件tar.gz文件

        2. 找到Firefox插件的安装目录,可以使用find命令搜索  mozilla  plugin等关键字

            Firefox插件默认位置 /usr/lib/mozilla/plugins/,然后把libflashplayer.so复制到该文件夹中:
sudo cp libflashplayer.so /usr/lib/mozilla/plugins

        3. usr文件夹中的各个文件复制到文件系统中的相应位置: sudo cp -r usr/* /usr
        重新打开Firefox,这回没有缺少插件的提示了。

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值