Centos7上yum安装chrome
2022/4/24...小于 1 分钟
- 配置yum源(root用户)
在目录/etc/yum.repos.d/
下新建文件google-chrome.repo
vim /etc/yum.repos.d/google-chrome.repo
写入如下内容:
[google-chrome]
name=google-chrome
baseurl=<http://dl.google.com/linux/chrome/rpm/stable/$basearch>
enabled=1
gpgcheck=1
gpgkey=<https://dl-ssl.google.com/linux/linux_signing_key.pub>
提示
1、按ESC退出编辑模式(回到命令模式)
2、输入 :wq!后按回车退出
- 安装chrome浏览器
yum -y install google-chrome-stable --nogpgcheck
https://download-chromium.appspot.com/?platform=Linux_x64&type=snapshots