Centos7安装、更新Google浏览器,遇到的依赖包问题

下载了最新的chrome安装包,更新时,出现问题,如下:

[root@localhost ~]# rpm -Uvh google-chrome-stable_current_x86_64.rpm
error: Failed dependencies:
        libvulkan.so.1()(64bit) is needed by google-chrome-stable-87.0.4280.66-1.x86_64

查看该函数库文件的依赖包

[root@localhost ~]# yum provides */libvulkan.so.1
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * epel: mirror.yer.az
 * extras: mirrors.aliyun.com
 * updates: mirrors.cn99.com
epel/x86_64/primary_db                                                                                                                                                               | 6.9 MB  00:00:03     
google-chrome                                                                                                                                                                                           3/3
base/7/x86_64/filelists_db                                                                                                                                                           | 7.2 MB  00:00:06     
epel/x86_64/filelists_db                                                                                                                                                             |  12 MB  00:00:03     
extras/7/x86_64/filelists_db                                                                                                                                                         | 224 kB  00:00:00     
google-chrome/filelists                                                                                                                                                              | 1.8 kB  00:00:00     
updates/7/x86_64/filelists_db                                                                                                                                                        | 2.1 MB  00:00:02     
vulkan-1.1.97.0-1.el7.i686 : Vulkan loader and validation layers
Repo        : base
Matched from:
Filename    : /usr/lib/libvulkan.so.1



vulkan-1.1.97.0-1.el7.x86_64 : Vulkan loader and validation layers
Repo        : base
Matched from:
Filename    : /usr/lib64/libvulkan.so.1

安装vulkan-1.1.97.0-1.el7.x86_64

[root@localhost ~]# yum -y install vulkan-1.1.97.0-1.el7.x86_64
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.yer.az
 * extras: mirrors.aliyun.com
 * updates: mirrors.cn99.com
Resolving Dependencies
--> Running transaction check
---> Package vulkan.x86_64 0:1.1.97.0-1.el7 will be installed
--> Processing Dependency: vulkan-filesystem = 1.1.97.0-1.el7 for package: vulkan-1.1.97.0-1.el7.x86_64
--> Processing Dependency: libwayland-client.so.0()(64bit) for package: vulkan-1.1.97.0-1.el7.x86_64
--> Running transaction check
---> Package libwayland-client.x86_64 0:1.15.0-1.el7 will be installed
---> Package vulkan-filesystem.noarch 0:1.1.97.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                                 Arch                                         Version                                              Repository                                  Size
============================================================================================================================================================================================================
Installing:
 vulkan                                                  x86_64                                       1.1.97.0-1.el7                                       base                                       3.6 M
Installing for dependencies:
 libwayland-client                                       x86_64                                       1.15.0-1.el7                                         base                                        33 k
 vulkan-filesystem                                       noarch                                       1.1.97.0-1.el7                                       base                                       6.3 k

Transaction Summary
============================================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total size: 3.6 M
Total download size: 3.6 M
Installed size: 22 M
Downloading packages:
(1/2): vulkan-filesystem-1.1.97.0-1.el7.noarch.rpm                                                                                                                                   | 6.3 kB  00:00:00     
(2/2): vulkan-1.1.97.0-1.el7.x86_64.rpm                                                                                                                                              | 3.6 MB  00:00:06     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                       590 kB/s | 3.6 MB  00:00:06     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : vulkan-filesystem-1.1.97.0-1.el7.noarch                                                                                                                                                  1/3 
  Installing : libwayland-client-1.15.0-1.el7.x86_64                                                                                                                                                    2/3 
  Installing : vulkan-1.1.97.0-1.el7.x86_64                                                                                                                                                             3/3 
  Verifying  : vulkan-1.1.97.0-1.el7.x86_64                                                                                                                                                             1/3 
  Verifying  : libwayland-client-1.15.0-1.el7.x86_64                                                                                                                                                    2/3 
  Verifying  : vulkan-filesystem-1.1.97.0-1.el7.noarch                                                                                                                                                  3/3 

Installed:
  vulkan.x86_64 0:1.1.97.0-1.el7                                                                                                                                                                            

Dependency Installed:
  libwayland-client.x86_64 0:1.15.0-1.el7                                                             vulkan-filesystem.noarch 0:1.1.97.0-1.el7                                                            

Complete!

重新执行更新命令,更新chrome

[root@localhost ~]# rpm -Uvh google-chrome-stable_current_x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:google-chrome-stable-87.0.4280.66################################# [ 50%]
Redirecting to /bin/systemctl start atd.service
Cleaning up / removing...
   2:google-chrome-stable-76.0.3809.10################################# [100%]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
要在CentOS 7上安装浏览器,你可以按照以下步骤进行操作: 1. 首先,你需要下载Google Chrome安装和相关依赖,以便在没有连接外网的服务器上进行离线安装。你可以从Google Chrome的官方网站下载适用于CentOS 7的安装。 2. 在安装之前,你需要安装Liberation字体,这可以通过以下命令来完成: ``` rpm -ivh liberation-narrow-fonts-1.07.2-16.el7.noarch.rpm rpm -ivh liberation-fonts-1.07.2-16.el7.noarch.rpm ``` 3. 接下来,你可以使用以下命令来安装Google Chrome: ``` rpm -ivh google-chrome-stable_current_x86_64.rpm ``` 4. 如果安装完成后出现快捷方式打不开的情况,你可以尝试重新创建一个桌面快捷方式。 总结起来,要在CentOS 7上安装浏览器,你需要先安装相关的字体,然后下载Google Chrome安装依赖,最后通过rpm命令进行离线安装。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [centos7安装或升级Google chrome安装Firefox浏览器详细过程及设置桌面快捷方式](https://blog.csdn.net/qq_39715000/article/details/125021115)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

向往的生活Life

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值