centos7 安装chrome浏览器

本文详细介绍了在Linux环境下,解决直接安装Google Chrome不稳定版RPM包时遇到的依赖错误的方法。通过安装缺失的依赖项如liberation-fonts、redhat-lsb、libXss.so.1和libappindicator3.so.1,最终成功安装并启动Chrome浏览器。

1   rpm包下载页面:https://www.google.com/intl/zh-CN_ALL/chrome/dev/

2  直接安装rpm包出错

[***@coolead firefox_download]$ sudo rpm -ivh google-chrome-unstable_current_x86_64.rpm 
[sudo] *** 的密码:
警告:google-chrome-unstable_current_x86_64.rpm: 头V4 DSA/SHA1 Signature, 密钥 ID 7fac5991: NOKEY
错误:依赖检测失败:
	/usr/bin/lsb_release 被 google-chrome-unstable-75.0.3759.4-1.x86_64 需要
	libXss.so.1()(64bit) 被 google-chrome-unstable-75.0.3759.4-1.x86_64 需要
	libappindicator3.so.1()(64bit) 被 google-chrome-unstable-75.0.3759.4-1.x86_64 需要
	liberation-fonts 被 google-chrome-unstable-75.0.3759.4-1.x86_64 需要

3  依照错误提示,安装chrome需要的依赖,最后安装rpm包

sudo yum -y install liberation-fonts
sudo yum -y install redhat-lsb  
sudo yum -y install "libXss.so.1()(64bit)"
sudo yum -y install "libappindicator3.so.1()(64bit)"
sudo rpm -ivh google-chrome-unstable_current_x86_64.rpm 

4  成功后,左上application-internet 就可以找到chrome图标了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值