ubuntu 14.04 chrome 安装flash问题

原因

Ubuntu14.04下,除了Chromium未能支持Flash播放器的安装外,其余像Firefox, Chrome浏览器都支持Flash播放器的安装。

从14.04起,Chromium 不再使用 Netscape插件API ,导致原本的 Flash Player 将无法在 Chromium 运行.

要解决这个问题,就需要用Pepper Flash Player。它是一个来自于Google的安全稳定的版本。它已经包含在了Ubuntu 软件仓库中。安装它需要下载Chrome,并从中解压出它。

主要步骤:

sudo apt-get install pepperflashplugin-nonfree

sudo update-pepperflashplugin-nonfree --install  安装

sudo update-pepperflashplugin-nonfree --uninstall 卸载

问题

sudo apt-get install pepperflashplugin-nonfree

出现以下问题:

ERROR: failed to retrieve status information from google : W: There is no public key available for the following key IDs:
1397BC53640DB551
More information might be available at:
  http://wiki.debian.org/PepperFlashPlayer

解决方法

http://unix.stackexchange.com/questions/279825/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-go

pepperflashplugin-nonfree has its own key stash in /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt. Until the package is updated with the new key, you can add the key locally by executing

gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551
gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt'
sudo update-pepperflashplugin-nonfree  --install

It is important that the new key is appended to the file (“>>”), the old key is still needed.

After this you can install the pepperflashplugin with

sudo update-pepperflashplugin-nonfree –install
The file will be overwritten when the package is updated, so you might have to do this again after an update if the maintainer hasn’t added the new key (in this case you will get the same error message again when the new version is being installed).

如果/usr/lib/pepperflashplugin-nofree不存在,则:

sudo apt-get update
sudo apt-get install chromium-browser
gpg --keyserver pgp.mit.edu --recv-keys 1397BC53640DB551
gpg --export --armor 1397BC53640DB551 | sudo sh -c 'cat >> /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt'
sudo update-pepperflashplugin-nonfree  --install

结果

这里写图片描述

chrome中输入:chrome://plugins

这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值