CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版


记录分享在CentOS 7图形界面中安装谷歌浏览器最新Chrome稳定版或Beta测试版的过程步骤,有详细截图,总结出一个可行的办法,适合初学者,希望能够帮助到大家。

本文环境:

Linux Description: CentOS Linux release 7.6.1810 (Core)

Chrome:版本 75.0.3770.18(正式版本)beta (64 位)

先看效果图:

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

1、下载Google rpm 包(最新稳定版)

[linuxidc@localhost linuxboy.net]$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

或者下载Google rpm 包(最新Beta测试版)

[linuxidc@localhost linuxboy.net]$ wget https://dl.google.com/linux/direct/google-chrome-beta_current_x86_64.rpm

2、然后开始安装相关的依赖包:

[linuxidc@localhost linuxboy.net]$ sudo yum install -y lsb

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

[linuxidc@localhost linuxboy.net]$ yum install -y libXScrnSaver

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

3 、试安装google :

[linuxidc@localhost linuxboy.net]$ rpm -ivh google-chrome-stable_current_x86_64.rpm

或者

[linuxidc@localhost linuxboy.net]$ rpm -ivh google-chrome-beta_current_x86_64.rpm

警告:google-chrome-beta_current_x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID 7fac5991: NOKEY
错误:依赖检测失败:
 libappindicator3.so.1()(64bit) 被 google-chrome-beta-75.0.3770.18-1.x86_64 需要
 liberation-fonts 被 google-chrome-beta-75.0.3770.18-1.x86_64 需要

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

此时会提示我们libappindicator3.so.1()(64bit)依赖检测失败

直接yum发现存储库中不存在该包,下载libappindicator-gtk3-12.10.0-11.el7.x86_64.rpm。(下载见本文最后linuxboy资源站)

[linuxidc@localhost linuxboy.net]$ rpm -ivh libappindicator-gtk3-12.10.0-11.el7.x86_64.rpm
警告:libappindicator-gtk3-12.10.0-11.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID 352c64e5: NOKEY
错误:依赖检测失败:
 libdbusmenu-glib.so.4()(64bit) 被 libappindicator-gtk3-12.10.0-11.el7.x86_64 需要
 libdbusmenu-gtk3.so.4()(64bit) 被 libappindicator-gtk3-12.10.0-11.el7.x86_64 需要
 libindicator3.so.7()(64bit) 被 libappindicator-gtk3-12.10.0-11.el7.x86_64 需要

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

[linuxidc@localhost linuxboy.net]$ sudo yum install libdbusmenu-glib.so.4CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

[linuxidc@localhost linuxboy.net]$ sudo yum install libdbusmenu-gtk3.so.4

[linuxidc@localhost linuxboy.net]$ sudo yum install  libindicator3.so.7

[linuxidc@localhost linuxboy.net]$ repoquery --nvr --whatprovides  libappindicator3.so.1
libappindicator-gtk3-12.10.0-13.el7

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

[linuxidc@localhost linuxboy.net]$ yum install -y libappindicator-gtk3-12.10.0-13.el7

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

[linuxidc@localhost linuxboy.net]$ sudo rpm -ivh libappindicator-gtk3-12.10.0-11.el7.x86_64.rpm
警告:libappindicator-gtk3-12.10.0-11.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID 352c64e5: NOKEY
准备中...                          ################################# [100%]
 软件包 libappindicator-gtk3-12.10.0-13.el7.x86_64 (比 libappindicator-gtk3-12.10.0-11.el7.x86_64 还要新) 已经安装
 file /usr/lib64/girepository-1.0/AppIndicator3-0.1.typelib from install of libappindicator-gtk3-12.10.0-11.el7.x86_64 conflicts with file from package libappindicator-gtk3-12.10.0-13.el7.x86_64
 file /usr/lib64/libappindicator3.so.1.0.0 from install of libappindicator-gtk3-12.10.0-11.el7.x86_64 conflicts with file from package libappindicator-gtk3-12.10.0-13.el7.x86_64

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

再次安装Chrome

[linuxidc@localhost linuxboy.net]$ sudo rpm -ivh google-chrome-beta_current_x86_64.rpm
警告:google-chrome-beta_current_x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID 7fac5991: NOKEY
错误:依赖检测失败:
 liberation-fonts 被 google-chrome-beta-75.0.3770.18-1.x86_64 需要

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

[linuxidc@localhost linuxboy.net]$ sudo yum install liberation-fonts

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

[linuxidc@localhost linuxboy.net]$ sudo rpm -ivh google-chrome-beta_current_x86_64.rpm
警告:google-chrome-beta_current_x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID 7fac5991: NOKEY
准备中...                          ################################# [100%]
正在升级/安装...
  1:google-chrome-beta-75.0.3770.18-1################################# [100%]
Redirecting to /bin/systemctl start atd.service
[linuxidc@localhost linuxboy.net]$

CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版

OK,完成CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版的全部步骤。

 截图见本文最上面。

libappindicator-gtk3-12.10.0-11.el7.x86_64.rpm 可以到linuxboy资源站下载:

------------------------------------------分割线------------------------------------------

免费下载地址在 http://linux.linuxboy.net/

用户名与密码都是www.linuxboy.net

具体下载目录在 /2019年资料/5月/3日/CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版/

下载方法见

------------------------------------------分割线------------------------------------------

说明:如果有某个包被依赖时,先用yum安装试一下是否存在包资源,不存在就去网站搜索。

https://www.linuxboy.net/topicnews.aspx?tid=14

linuxboy的RSS地址:https://www.linuxboy.net/rssFeed.aspx

本文永久更新链接地址:https://www.linuxboy.net/Linux/2019-05/158451.htm

相关内容

    暂无相关文章