您的位置:首页 > 运维架构 > Linux

Install Google Chrome on Fedora 23/22, CentOS/RHEL 7.1

2015-11-15 09:39 931 查看
This guide explains howto install Google Chrome Web browser on Fedora 23/22/21/20/19/18 and CentOS/Red Hat (RHEL) 7.1. Best way to install and keep up-to-date with Google Chrome browser is use Google’s own YUM/DNF repository.

Currently it’s not possible to install Google Chrome on CentOS 6 / Red Hat (RHEL) 6 and Google Says Red Hat Enterprise Linux 6 Is Obsolete,
but don’t worry, I write guide,
howto install Chromium Web Browser on CentOS 6 / Red Hat (RHEL) 6.

Install Google Chrome on Fedora 23/22/21/20/19/18, CentOS 7.1, Red Hat (RHEL) 7.1

1. Change to root user.

Shell

sudo -i
## OR ##
su -

0
1
2
3
4

sudo
-i
## OR ##
su
-


2. Enable Google YUM repository

Run following command (copy & paste all lines to console) to create /etc/yum.repos.d/google-chrome.repo file:

Shell

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

0
1
2
3
4
5
6
7
8
9

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


3. Install Google Chrome with YUM

3.1 Install Google Chrome Stable Version

Shell

## Install Google Chrome Stable version ##
## Fedora 23/22 ##
dnf install google-chrome-stable

## Fedora 21/20/19/18 and CentOS/RHEL 7.1 ##
yum install google-chrome-stable

0
1
2
3
4
5
6
7

## Install Google Chrome Stable version ##
## Fedora 23/22 ##
dnf
install google-chrome-stable

## Fedora 21/20/19/18 and CentOS/RHEL 7.1 ##
yum
install google-chrome-stable


3.2 Install Google Chrome Beta Version

Shell

## Install Google Chrome Beta version ##
## Fedora 23/22 ##
dnf install google-chrome-beta

## Fedora 21/20/19/18 and CentOS/RHEL 7.1 ##
yum install google-chrome-beta

0
1
2
3
4
5
6
7

## Install Google Chrome Beta version ##
## Fedora 23/22 ##
dnf
install google-chrome-beta

## Fedora 21/20/19/18 and CentOS/RHEL 7.1 ##
yum
install google-chrome-beta


3.3 Install Google Chrome Unstable Version

Shell

## Install Google Chrome Unstable version ##
## Fedora 23/22 ##
dnf install google-chrome-unstable

## Fedora 21/20/19/18 and CentOS/RHEL 7.1 ##
yum install google-chrome-unstable

0
1
2
3
4
5
6
7

## Install Google Chrome Unstable version ##
## Fedora 23/22 ##
dnf
install google-chrome-unstable

## Fedora 21/20/19/18 and CentOS/RHEL 7.1 ##
yum
install google-chrome-unstable


Google Chrome Stable Running on CentOS 7 64-bit





Share this post

http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: