|||
root登陆fedora
首先下载google浏览器: https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm
然后在终端中输入以下命令:
cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - $basearch
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
EOF
yum-config-manager --disable google-chrome
yum-config-manager --save --setopt=google-chrome.skip_if_unavailable=true
yum install google-chrome-stable_current_i386.rpm
google浏览器不允许root使用,root用户如果想用,把/opt/google/chrome/google-chrome的倒数第二行
exec -a "$0" "$HERE/chrome" "$@" 更改为 exec -a "$0" "$HERE/chrome" "$@" -user-data-dir
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-26 23:48
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社