1.配置yum源
/etc/yum.repos.d/目录下,新建google-chrome.repo
vim /ect/yum.repos.d/google-chrome.repo
2.编辑内容如下
[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
3.下载安装
yum -y install google-chrome-stable --nogpgcheck
安装好后,在应用程序可以看见google
此时的浏览器还无法成功启动!!!
将图标拖到桌面(类似建立快捷方式)
/usr/bin/google-chrome-stable %U--no-sandbox
/usr/bin/google-chrome-stable %U --no-sandbox
桌面快捷方式的配置文件
vim /usr/share/applications/google-chrome.desktop
Exec=/usr/bin/google-chrome-stable %U--no-sandbox