Install Google Chrome on Fedora 25/24, CentOS/RHEL 7.3

Install Google Chrome on Fedora 25/24, CentOS/RHEL 7.3

chrome-logo-small

This guide explains howto install Google Chrome Web browser on Fedora 25/24/23/22/21/20 and CentOS/Red Hat (RHEL) 7.3. 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 25/24/23/22/21/20, CentOS 7.3, Red Hat (RHEL) 7.3

1. Change to root user.

Bash


sudo -i
## OR ##
su -

2. Enable Google YUM repository

Note: Google Chrome Linux version doesn’t get any 32-bit (x86) updates and 32-bit repo is also removed. If you have 32-bit version installed, then you can use it, but you can’t get security updates or other updates anymore.

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

Bash


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

Bash


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

## Fedora 21/20 and CentOS/RHEL 7.3 ##
yum install google-chrome-stable
3.2 Install Google Chrome Beta Version

Bash


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

## Fedora 21/20/19 and CentOS/RHEL 7.3 ##
yum install google-chrome-beta
3.3 Install Google Chrome Unstable Version

Bash


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

## Fedora 21/20/19 and CentOS/RHEL 7.3 ##
yum install google-chrome-unstable
4. Note for Fedora 25 users

What I have tested, currently Google Chrome won’t work with Fedora 25 Wayland, if you have problems, then fallback to Xorg with modifying /etc/gdm/custom.conf file:

Bash


# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false

[security]
...

 

 

Way 2 only fit to centos or redhet:

1.wget http://chrome.richardlloyd.org.uk/install_chrome.sh

2.chmod u+x install_chrome.sh

3.

./install_chrome.sh  (if failed,exec yum update bash wget,and try again)

./install_chrome.sh -s  means install stable version           

--------------------------------------------------------------------------------------------------------------

To uninstall Google Chrome,

run "yum remove google-chrome-stable " or "./install_chrome.sh -u".

 

转载于:https://my.oschina.net/chaenomeles/blog/834071

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值