In this tutorial, we’ll see how to install the Google Chrome browser on RHEL-based Linux distributions such as Red Hat, Fedora, AlmaLinux, Rocky Linux, and CentOS in a few short steps.
Installing Google Chrome
Step 1. Download the Google Chrome RPM file with the wget command:
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Step 2. Next, use the dnf
command to install the Google Chrome package and all dependencies:
$ sudo dnf localinstall ./google-chrome-stable_current_x86_64.rpm
Step 3. Finally, you can launch Google Chrome from the system menus or from command line:
$ google-chrome
Uninstalling Google Chrome
In case you decide to get rid of the browser, the following command will uninstall Google Chrome from your system:
$ sudo dnf remove google-chrome-stable