Ubuntu 12.04安装firefox 26中的flash plugin方法

本文介绍在Ubuntu12.04 64位系统中安装Firefox26的Flash Player插件的方法。通过从Adobe官网下载tar.gz包并解压安装,解决官方源中无法下载的问题。最后验证插件是否成功安装。
Ubuntu 12.04 64bit中安装firefox 26中的flash player插件的方法

昨天, 有最新的firefox 26更新了,可是我在软件更新中无法下载到ubuntu官方源中的flash plugin,详细的情况可以参见如下网页,这个问题我一年前也遇到过,特记录下来,以备后来查阅.
http://blog.sina.com.cn/s/blog_920dea7a01015g7n.html
http://hi.baidu.com/625879301/item/c3d1c4428071ae07896d10bb

直接在Ubuntu中无法顺利下载该插件,所以我采用直接从adobe官网下载该插件并解压安装的方法.
使用firefox浏览器打开,从http://www.adobe.com/products/flashplayer.html中找到下载页面,比如
http://get.adobe.com/cn/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_%28.tar.gz%29_64-bit&standalone=1
选择tar.gz包格式,下载到本人用户目录的"下载"子目录下面
install_flash_player_11_linux.x86_64.tar.gz
按照包中readme.txt的提示
解压得到两部分文件:
    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
就是执行如下命令
cd ~/下载
sudo tar zxvf install_flash_player_11_linux.x86_64.tar.gz -C /usr/lib/mozilla/plugins/
cd /usr/lib/mozilla/plugins/
sudo cp -r usr/* /usr 
注意最后一个命令是将usr目录下的子目录和文件复制到/usr下面,当然,这里采用移动命令更好
sudo mv usr/* /usr
然后删除不必要的文件
sudo rm -fr usr/
sudo rm readme.txt

下面验证下flash plugin是否发挥作用?
重新打开firefox浏览器,输入http://v.qq.com/,点击其中一个视频页面,如果视频能正常播放,则说明flash plugin是正常的.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值