您的位置:首页 > 其它

ubuntu下安装firefox的flash插件

2014-05-07 22:21 204 查看
最近新进了一台笔记本电脑,装了个双系统: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,这回没有缺少插件的提示了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: