centos7安装chrome
rpm安装chrome需要解决依赖问题,
$ rpm -ivh google-chrome-stable_current_x86_64.rpm
警告:google-chrome-stable_current_x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID 7fac5991: NOKEY
错误:依赖检测失败:
libappindicator3.so.1()(64bit) 被 google-chrome-stable-85.0.4183.83-1.x86_64 需要
liberation-fonts 被 google-chrome-stable-85.0.4183.83-1.x86_64 需要
libvulkan.so.1()(64bit) 被 google-chrome-stable-85.0.4183.83-1.x86_64 需要
通过yum安装,自动下载处理依赖关系
$ yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
已加载插件:fastestmirror, langpacks
google-chrome-stable_current_x86_64.rpm | 67 MB 00:00:07
正在检查 /var/tmp/yum-root-Tedfmk/google-chrome-stable_current_x86_64.rpm: google-chrome-stable-85.0.4183.83-1.x86_64
/var/tmp/yum-root-Tedfmk/google-chrome-stable_current_x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 google-chrome-stable.x86_64.0.85.0.4183.83-1 将被 安装
--> 正在处理依赖关系 liberation-fonts,它被软件包 google-chrome-stable-85.0.4183.83-1.x86_64 需要
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
--> 正在处理依赖关系 libappindicator3.so.1()(64bit),它被软件包 google-chrome-stable-85.0.4183.83-1.x86_64 需要
--> 正在处理依赖关系 libvulkan.so.1()(64bit),它被软件包 google-chrome-stable-85.0.4183.83-1.x86_64 需要
--> 正在检查事务
---> 软件包 libappindicator-gtk3.x86_64.0.12.10.0-13.el7 将被 安装
--> 正在处理依赖关系 libindicator3.so.7()(64bit),它被软件包 libappindicator-gtk3-12.10.0-13.el7.x86_64 需要
--> 正在处理依赖关系 libdbusmenu-gtk3.so.4()(64bit),它被软件包 libappindicator-gtk3-12.10.0-13.el7.x86_64 需要
--> 正在处理依赖关系 libdbusmenu-glib.so.4()(64bit),它被软件包 libappindicator-gtk3-12.10.0-13.el7.x86_64 需要
---> 软件包 liberation-fonts.noarch.1.1.07.2-16.el7 将被 安装
--> 正在处理依赖关系 liberation-narrow-fonts = 1:1.07.2-16.el7,它被软件包 1:liberation-fonts-1.07.2-16.el7.noarch 需要
---> 软件包 vulkan.x86_64.0.1.1.97.0-1.el7 将被 安装
--> 正在处理依赖关系 vulkan-filesystem = 1.1.97.0-1.el7,它被软件包 vulkan-1.1.97.0-1.el7.x86_64 需要
--> 正在检查事务
---> 软件包 libdbusmenu.x86_64.0.16.04.0-4.el7 将被 安装
---> 软件包 libdbusmenu-gtk3.x86_64.0.16.04.0-4.el7 将被 安装
---> 软件包 liberation-narrow-fonts.noarch.1.1.07.2-16.el7 将被 安装
---> 软件包 libindicator-gtk3.x86_64.0.12.10.1-6.el7 将被 安装
---> 软件包 vulkan-filesystem.noarch.0.1.1.97.0-1.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
=========================================================================================================================================================
Package 架构 版本 源 大小
=========================================================================================================================================================
正在安装:
google-chrome-stable x86_64 85.0.4183.83-1 /google-chrome-stable_current_x86_64 225 M
为依赖而安装:
libappindicator-gtk3 x86_64 12.10.0-13.el7 base 37 k
libdbusmenu x86_64 16.04.0-4.el7 base 132 k
libdbusmenu-gtk3 x86_64 16.04.0-4.el7 base 34 k
liberation-fonts noarch 1:1.07.2-16.el7 base 13 k
liberation-narrow-fonts noarch 1:1.07.2-16.el7 base 202 k
libindicator-gtk3 x86_64 12.10.1-6.el7 base 63 k
vulkan x86_64 1.1.97.0-1.el7 base 3.6 M
vulkan-filesystem noarch 1.1.97.0-1.el7 base 6.3 k
事务概要
=========================================================================================================================================================
安装 1 软件包 (+8 依赖软件包)
总计:229 M
总下载量:4.0 M
安装大小:249 M
Is this ok [y/d/N]: y
Downloading packages:
(1/8): libappindicator-gtk3-12.10.0-13.el7.x86_64.rpm | 37 kB 00:00:00
(2/8): libdbusmenu-gtk3-16.04.0-4.el7.x86_64.rpm | 34 kB 00:00:00
(3/8): liberation-fonts-1.07.2-16.el7.noarch.rpm | 13 kB 00:00:00
(4/8): libdbusmenu-16.04.0-4.el7.x86_64.rpm | 132 kB 00:00:00
(5/8): libindicator-gtk3-12.10.1-6.el7.x86_64.rpm | 63 kB 00:00:00
(6/8): liberation-narrow-fonts-1.07.2-16.el7.noarch.rpm | 202 kB 00:00:00
(7/8): vulkan-filesystem-1.1.97.0-1.el7.noarch.rpm | 6.3 kB 00:00:00
(8/8): vulkan-1.1.97.0-1.el7.x86_64.rpm | 3.6 MB 00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------
总计 3.0 MB/s | 4.0 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : libdbusmenu-16.04.0-4.el7.x86_64 1/9
正在安装 : libdbusmenu-gtk3-16.04.0-4.el7.x86_64 2/9
正在安装 : vulkan-filesystem-1.1.97.0-1.el7.noarch 3/9
正在安装 : vulkan-1.1.97.0-1.el7.x86_64 4/9
正在安装 : 1:liberation-narrow-fonts-1.07.2-16.el7.noarch 5/9
正在安装 : 1:liberation-fonts-1.07.2-16.el7.noarch 6/9
正在安装 : libindicator-gtk3-12.10.1-6.el7.x86_64 7/9
正在安装 : libappindicator-gtk3-12.10.0-13.el7.x86_64 8/9
正在安装 : google-chrome-stable-85.0.4183.83-1.x86_64 9/9
Redirecting to /bin/systemctl start atd.service
验证中 : vulkan-1.1.97.0-1.el7.x86_64 1/9
验证中 : 1:liberation-fonts-1.07.2-16.el7.noarch 2/9
验证中 : libappindicator-gtk3-12.10.0-13.el7.x86_64 3/9
验证中 : libindicator-gtk3-12.10.1-6.el7.x86_64 4/9
验证中 : libdbusmenu-gtk3-16.04.0-4.el7.x86_64 5/9
验证中 : 1:liberation-narrow-fonts-1.07.2-16.el7.noarch 6/9
验证中 : google-chrome-stable-85.0.4183.83-1.x86_64 7/9
验证中 : libdbusmenu-16.04.0-4.el7.x86_64 8/9
验证中 : vulkan-filesystem-1.1.97.0-1.el7.noarch 9/9
已安装:
google-chrome-stable.x86_64 0:85.0.4183.83-1
作为依赖被安装:
libappindicator-gtk3.x86_64 0:12.10.0-13.el7 libdbusmenu.x86_64 0:16.04.0-4.el7 libdbusmenu-gtk3.x86_64 0:16.04.0-4.el7
liberation-fonts.noarch 1:1.07.2-16.el7 liberation-narrow-fonts.noarch 1:1.07.2-16.el7 libindicator-gtk3.x86_64 0:12.10.1-6.el7
vulkan.x86_64 0:1.1.97.0-1.el7 vulkan-filesystem.noarch 0:1.1.97.0-1.el7
完毕!
浙公网安备 33010602011771号