Install Google Chrome on Fedora 25/24, CentOS/RHEL 7.3
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".