ubuntu16.04为google chrome安装adobe-flashplugin

前端之家收集整理的这篇文章主要介绍了ubuntu16.04为google chrome安装adobe-flashplugin前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1. apt命令安装adobe-flashplugin

$ sudo apt-get install adobe-flashplugin

2. deb包安装adobe-flashplugin

adobe-flashplugin的deb包下载地址:
http://archive.canonical.com/pool/partner/a/adobe-flashplugin/
首先查看系统版本号:

$ uname -a
Linux xxpc 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

可知当前ubuntu版本号为16.04.1,选择adobe-flashplugin_20170509.1-0ubuntu0.16.04.1_amd64.deb进行下载

$ wget -c http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20170509.1-0ubuntu0.16.10.1_amd64.deb

安装deb包:

$ sudo dpkg -i adobe-flashplugin_20170509.1-0ubuntu0.16.10.1_amd64.deb

若出现以下冲突信息:

$ sudo dpkg -i adobe-flashplugin_20170509.1-0ubuntu0.16.10.1_amd64.deb
Selecting prevIoUsly unselected package adobe-flashplugin.
dpkg: regarding adobe-flashplugin_20170509.1-0ubuntu0.16.10.1_amd64.deb containing adobe-flashplugin:
 adobe-flashplugin conflicts with flashplugin-installer
  flashplugin-installer (version 25.0.0.171ubuntu0.16.04.1) is present and installed.

dpkg: error processing archive adobe-flashplugin_20170509.1-0ubuntu0.16.10.1_amd64.deb (--install):
 conflicting packages - not installing adobe-flashplugin
Errors were encountered while processing:
 adobe-flashplugin_20170509.1-0ubuntu0.16.10.1_amd64.deb

则将flashplugin-installer卸载,再执行安装adobe-flashplugin命令:

$ sudo apt-get remove flashplugin-installer
$ sudo dpkg -i adobe-flashplugin_20170509.1-0ubuntu0.16.10.1_amd64.deb

然后重新打开终端, 输入命令:

$ google-chrome

重启google chrome浏览器即可生效.

原文链接:https://www.f2er.com/ubuntu/352774.html

猜你在找的Ubuntu相关文章