【ZT】ubuntu 14.04 安装chrome及给chromium 安装 flash player ubuntu 14.04 安装chrome及给chromium 安装 flash player

https://blog.csdn.net/lainegates/article/details/27830333

ubuntu 14.04 安装chrome及给chromium 安装 flash player

ubuntu 14.04 安装chrome及给chromium 安装 flash player

在网上尝试很多方法,大多数是拷贝 libflashplayer.so,尝试之后,没有用。

最后还是从大牛处找到了办法,其实就是chromium提示的安装方法,不过chromium推荐用软件更新器做,远没有命令方便。

简单点说,打开terminal:

sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --install



或者,推荐更好的办法,装chrome,这个flash player 直接正常使用.

一、添加PPA
从Google Linux Repository( http://www.google.com/linuxrepositories/)下载安装Key,或把下面的代码复制进终端,回车,需要管理员密码
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Key安装好后,在终端输入:
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'

二、更新
在终端输入:
sudo apt-get update

三、安装
安装稳定版Chrome,在终端输入:sudo apt-get install google-chrome-stable
安装Beta版Chrome,在终端输入:sudo apt-get install google-chrome-beta
安装不稳定版Chrome,在终端输入:sudo apt-get install google-chrome-unstable
Done,万事大吉!




以下为之前chromium安装flash player不好用的原因(以下为转载内容):

http://www.linuxidc.com/Linux/2014-01/95736.htm

Flash Player For Linux 自11.2 起已经停止更新,目前 Linux 平台下面的 Flash Player 只能依靠 Google Chrom 的 PPAPI (Pepper Flash Player)进行更新(Chrome Only)(Adobe 仅维护这个版本),其它浏览器包括Chromium 都只能使用 Flash Player 11.2。

但由于 Chromium 宣布将抛弃旧的标准(NPAPI),导致原本的 Flash Player 将无法在 Chromium 运行,所以决定在 Chromium 中使用 Pepper Flash Player ,这个Pepper Flash Player 是通过下载 Google Chrome 然后提取出来给 Chromium 使用的。

目前这个安装器已经收录于 Ubuntu 14.04 官方源(从 Debian源中导入)。

Ubuntu 14.04 用户可以通过以下命令安装 Pepper Flash Player For Chromium :

sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --install

如果你想使用 Beta 版的 Google Chrome 中的 Pepper Flash Player ,那么可以把第二个命令改为:

sudo update-pepperflashplugin-nonfree --install --beta --unverified

如果想使用非稳定版的 Google Chrome 中的 Pepper Flash Player,那么可以把第二个命令改为:

sudo update-pepperflashplugin-nonfree --install --unstable --unverified

如果你想卸载这个 Flash Player ,那么请执行以下命令:

sudo update-pepperflashplugin-nonfree --uninstall


猜你喜欢

转载自blog.csdn.net/wb4916/article/details/80442425