Linux 浏览器下安装 Flash

来源:互联网 发布:哪家的4g网络好 编辑:程序博客网 时间:2024/05/18 02:07

在linux下为浏览器安装flash

官方readme文件有关内容如下:

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

官方的说明就是最好的教程,希望自己能养成事事看官方文档的习惯,百度来百度去的效率很低。

简要说明:

  1. 从flash官网下载针对Linux的插件,(有rpm,apt,tar.gz三种,压缩文件比较通用)
  2. 解压得到
    • libflashplayer.so
    • /usr
  3. 把.so文件拷贝到浏览器插件目录下(不同浏览器不同,firefox的是/usr/lib/mozilla/plugins/)
  4. 进入解压后的目录,执行cp ./usr/* -r /usr
  5. 重启浏览器,大功告成
0 0