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

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

本文环境:

Linux Description:CentOS Linux release 7.6.1810 (Core)

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

先看效果图:

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

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

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

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

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

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

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

3 、试安装google :

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

或者

[linuxidc@localhost linuxidc.com]$ 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 需要

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

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

[linuxidc@localhost linuxidc.com]$ 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 需要

[linuxidc@localhost linuxidc.com]$ sudo yum install libdbusmenu-glib.so.4

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

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

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

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

[linuxidc@localhost linuxidc.com]$ 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_64file /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

再次安装Chrome

[linuxidc@localhost linuxidc.com]$ 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 需要

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

[linuxidc@localhost linuxidc.com]$ 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 linuxidc.com]$

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

截图见本文最上面。

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

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

免费下载地址在 http://linux.linuxidc.com/

用户名与密码都是www.linuxidc.com

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

下载方法见 http://www.linuxidc.com/Linux/2013-07/87684.htm

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

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

更多CentOS相关信息见CentOS 专题页面 https://www.linuxidc.com/topicnews.aspx?tid=14




    延伸阅读