记录分享在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.1
libappindicator-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_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