Here are the steps to install Google Chrome on a RHEL/CentOS 7/8 and Fedora 34 system using the yum
command:
- Add the Google Chrome repository to the system:
sudo tee /etc/yum.repos.d/google-chrome.repo <<EOF
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
EOF
- Install Google Chrome:
sudo yum install google-chrome-stable
- Launch Google Chrome:
google-chrome
Note: Before installing Google Chrome, make sure to update your system with the latest packages to ensure compatibility. You can do this by running the following command:
sudo yum update