记录分享在CentOS 7图形界面中安装谷歌浏览器最新Chrome稳定版或Beta测试版的过程步骤,有详细截图,总结出一个可行的办法,适合初学者,希望能够帮助到大家。
本文环境:
Linux Description: CentOS Linux release 7.6.1810 (Core)
Chrome:版本 75.0.3770.18(正式版本)beta (64 位)
先看效果图:
1、下载Google rpm 包(最新稳定版)
[558idc@localhost 558idc.com]$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
或者下载Google rpm 包(最新Beta测试版)
[558idc@localhost 558idc.com]$ wget https://dl.google.com/linux/direct/google-chrome-beta_current_x86_64.rpm
2、然后开始安装相关的依赖包:
[558idc@localhost 558idc.com]$ sudo yum install -y lsb
[558idc@localhost 558idc.com]$ yum install -y libXScrnSaver
3 、试安装google :
[558idc@localhost 558idc.com]$ rpm -ivh google-chrome-stable_current_x86_64.rpm
或者
[558idc@localhost 558idc.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。(下载见本文最后自由互联资源站)
[558idc@localhost 558idc.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 需要
[558idc@localhost 558idc.com]$ sudo yum install libdbusmenu-glib.so.4
[558idc@localhost 558idc.com]$ sudo yum install libdbusmenu-gtk3.so.4
[558idc@localhost 558idc.com]$ sudo yum install libindicator3.so.7
[558idc@localhost 558idc.com]$ repoquery --nvr --whatprovides libappindicator3.so.1
libappindicator-gtk3-12.10.0-13.el7
[558idc@localhost 558idc.com]$ yum install -y libappindicator-gtk3-12.10.0-13.el7
[558idc@localhost 558idc.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_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
再次安装Chrome
[558idc@localhost 558idc.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 需要
[558idc@localhost 558idc.com]$ sudo yum install liberation-fonts
[558idc@localhost 558idc.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
[558idc@localhost 558idc.com]$
OK,完成CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版的全部步骤。
截图见本文最上面。
libappindicator-gtk3-12.10.0-11.el7.x86_64.rpm 可以到自由互联资源站下载:
------------------------------------------分割线------------------------------------------
免费下载地址在 http://linux.558idc.com/
用户名与密码都是www.558idc.com
具体下载目录在 /2019年资料/5月/3日/CentOS 7图形界面中安装最新Chrome稳定版或Beta测试版/
下载方法见 http://www.558idc.com/Linux/2013-07/87684.htm
------------------------------------------分割线------------------------------------------
说明:如果有某个包被依赖时,先用yum安装试一下是否存在包资源,不存在就去网站搜索。
更多CentOS相关信息见CentOS 专题页面 https://www.558idc.com/topicnews.aspx?tid=14