好记性不如铅笔头

linux, 操作系统

【转】Ubuntu下为Firefox安装Adobe Flash Player

本文转自【 http://www.linuxidc.com/Linux/2012-11/73629.htm 】,有删改。

在安装Ubuntu 12.10后,播放有视频的网页时,总提示你要安装缺失的插件,在 ubuntu 系统下为Firefox安装 Flash 插件其实很简单,只要按照 Adobe flash plugin 的安装包里的 readme.txt 的说明来做就行了。
Flash Player Plugin的下载地址是:http://get.adobe.com/cn/flashplayer/

CONTENTS

下载Adobe Flash Player:

下载tar.gz格式的

解压Adobe Flash Player压缩包:

进入到保存Adobe Flash Player压缩包的路径,将压缩包解压,使用如下命令:
tar -zxvf install_flash_player_11_linux.x86_64.tar.gz

解压完成后,你将会得到如下的文件:

 安装Adobe Flash Player:

Adobe Flash Player的安装比较容易,只要将对应的文档复制到正确的的位置即可,具体的操作如下:

将libflashplayer.so拷贝到Firefox的Plugin目录:

sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

将usr目录下的所有文档拷贝到系统的/usr目录下:

cp -r ./usr/* /usr/

备注:

这里摘抄一段压缩包中的readme:

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


Uninstallation instructions
---------------------------

Manual uninstallation (for users who installed the plugin via Install script):
   o Delete libflashplayer.so binary and flashplayer.xpt file in 
   directory /home/<user>/.mozilla/plugins/

RPM uninstallation:
   o As root, enter in terminal:
          + # rpm -e flash-plugin
          + Click Enter key and follow prompts

 

发表评论

2 × 4 =

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据