正常安装
- 下载链接
- 下载安装依赖包
yum -y install liberation-fonts
yum -y install libvulkan*
- 安装chrome
rpm -ivh google-chrome-stable_current_x86_64.rpm
- 启动chrome
google-chrome
使用root用户启动需要使用
google-chrome --no-sandbox
常见报错
- 报错原因
Error: Package: google-chrome-stable-126.0.6478.182-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libc.so.6(GLIBC_2.25)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodiges - 问题原因
最后降了浏览器版本,最新的126版本在centos7上无法安装而已
输入命令cat /etc/centos-release看linux版本,centos7不支持最新chrome126版本的浏览器,可以支持124版本的
- 解决方法
谷歌浏览器各个版本
安装命令
wget http://dist.control.lth.se/public/CentOS-7/x86_64/google.x86_64/google-chrome-stable-124.0.6367.118-1.x86_64.rpm
yum install google-chrome-stable-124.0.6367.118-1.x86_64.rpm
成功安装
google-chrome --version