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浏览器即可生效.

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值