zoukankan      html  css  js  c++  java
  • Ubuntu16.04LTS安装flash player

    【转载】

    最近重新安装了Ubuntu系统,因此flash play需要重新安装。本文就是记录。

    准备工作
    首先,我们去这个地方下载需要的tar包:https://get.adobe.com/cn/flashplayer .Firefox和Chromium需要的flash都在这里.

    为Chromium安装Flash player
    1.解压下载的tar包解压到需要的位置
    tar xzvf flash_player_ppapi_linux.x86_64.tar.gz -C flash_chrome
    里面大概有这样几个文件:
    .
    ├── LGPL
    │ ├── LGPL.txt
    │ └── notice.txt
    ├── libpepflashplayer.so
    ├── manifest.json
    └── README
    directory, 5 files

    2.把libpepflashplayer.so复制到chromium的插件目录:
    sudo cp libpepflashplayer.so /usr/lib/chromium-browser/plugins/libpepflashplayer.so

    3.修改chromium的配置文件:
    修改/etc/chromium-browser/default,修改CHROMIUM_FLAGS,修改后大致如下:

    Options to pass to chromium-browser

    CHROMIUM_FLAGS="--ppapi-flash-path=/usr/lib/chromium-browser/plugins/libpepflashplayer.so --ppapi-flash-version=22.0.0.209"
    这里有一点需要注意:其中ppapi-flash-version=22.0.0.209中的版本号,要与tar包中manifest.json中的版本号对应起来.

    4.重启Chromium即可生效

    为Firefox安装Flash player
    1.解压下载的tar包解压到需要的位置
    tar xzvf flash_player_ppapi_linux.x86_64.tar.gz -C flash_chrome
    里面大概有这样几个文件:
    .
    ├── LGPL
    ├── libflashplayer.so
    ├── readme.txt
    └── usr
    directories, 2 file
    其中的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
      o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
    • sudo cp -r usr/* /usr
      我们接下来的步骤就是按照这段话来做.

    2.libflashplayer.so复制到firefox的插件目录:
    sudo cp libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so

    3.复制flash的配置文件:
    sudo cp -r usr/* /usr

    4.重启firefox即可。

    结语:就这么多,挺简单吧.

  • 相关阅读:
    介绍一下Markdown语言
    通向架构师的道路(第一天)之Apache整合Tomcat lifetragedy的专栏 博客频道 CSDN.NET
    中国分省市地图导航SVG格式(基于Raphaël)
    异构计算完全解析CSDN.NET
    cocos2dx开启Wifi
    用“Web的思想”做PC客户端
    高斯模糊原理及几个实现例子
    android开启Wifi AP
    perl函数映射
    显示Iframe指定位置
  • 原文地址:https://www.cnblogs.com/dccmmtop/p/6931756.html
Copyright © 2011-2022 走看看