- 终端切换用户为超级用户root
- 添加Chrome浏览器的数据源
注意:Google Chrome Linux版本已经没有任何32位(x86)的更新,并且32位的库源也已被删除。如果您安装了32位版本,则可以使用它,但无法再获取安全更新或其他更新。
运行以下命令(直接复制粘贴所有内容到控制台)来创建 /etc/yum.repos.d/google-chrome.repo 文件
1
2
3
4
5
6
7
8
|
cat << EOF >> /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - x86_64
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
EOF
|
- YUM安装Chrome浏览器
3.1 安装稳定版本的Chrome浏览器
1
|
dnf install google-chrome-stable
|
3.1 安装测试版本的Chrome浏览器
1
|
dnf install google-chrome-beta
|
3.1 安装不稳定版本的Chrome浏览器
1
|
dnf install google-chrome-unstable
|