在CentOS中安装flashplay插件

4580阅读 0评论2012-12-29 hevake_lcj
分类:LINUX

    CentOS自带Firefox浏览器,但是这个浏览器并不完善,不能插放一音乐与视频之类,总提示安装插件。
    于是,我按到提示的路径:,下载install_flash_player_11_linux.i386.tar.gz 文件。
   
    (1)解压文件
        > tar zvxf install_flash_player_11_linux.i386.tar.gz

    (2)在当前目录下会出现2个文件1个文件夹:usr, libflashplayer.so, readme.txt
        打开readme.txt文件,里面会提示如何安装tar.gz格式的文件:

点击(此处)折叠或打开

  1. Installing using the plugin tar.gz:
  2. o Unpack the tar.gz file. Once unpacked you will see the following:
  3.   + libflashplayer.so
  4.   + /usr
  5. o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
  6. o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
  7.   + cp libflashplayer.so
  8. o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
  9.   + sudo cp -r usr/* /usr
        其中我很迷惑的是,第7行的这个到底是什么路径。
        通过在网上查找资料才得知是: /usr/lib/mozilla/plugins

    (3)安装
        > cp libflashplayer.so /usr/lib/mozilla/plugins
        > sudo cp -r usr/* /usr
上一篇:在CentOS中添加sudo帐户
下一篇:Linux/Unix系统搜索文本脚本