How to Install Google Chrome on openSUSE Leap or Tumbleweed


Google Chrome, a widely used web browser for its speed, security, and features, can be installed on OpenSUSE, a free and open-source operating system available in two different versions: OpenSUSE Leap and Tumbleweed. This article will provide an overview of how to install Google Chrome on both versions of OpenSUSE, as the commands used for the installation process are similar for both.

Step 1: Update openSUSE

Before installing Google Chrome, it is important to ensure that your system is up-to-date to avoid any conflicts during the installation. To do this, you can use the following terminal commands.

sudo zypper ref
sudo zypper up

Step 2: Import GPG Key

The first step you will need to do is download the GPG key for the Google Chrome installation. To do this, run the following wget command:

wget https://dl.google.com/linux/linux_signing_key.pub

Next, import the GPG key as follows.

sudo rpm --import linux_signing_key.pub

Step 3: Import Google Chrome Repository

For openSUSE-based systems, the three repository branches are imported together. Do not be confused; the stable branch contains beta and unstable if those are the versions you are after. The tutorial will cover how to install these optional editions later on.

To import the Google Chrome repository, use the following command.

sudo zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome

Example output:

Adding repository 'Google-Chrome' ......................................................................[done]
Repository 'Google-Chrome' successfully added

URI         : http://dl.google.com/linux/chrome/rpm/stable/x86_64
Enabled     : Yes
GPG Check   : Yes
Autorefresh : No
Priority    : 99 (default priority)

Repository priorities are without effect. All enabled repositories share the same priority.

Once the repository has been added, update the package manager’s cache.

sudo zypper ref -f

Step 4: Install Google Chrome

Users have three choices to import for their Google Chrome Browser installation. The first and most recommended is to install the stable browser branch for most of your usage. However, since they are not unique, you can install the beta and unstable builds and stable ones for more advanced or curious users.

Install Google Chrome Stable

sudo zypper in google-chrome-stable

Next, verify the build and version of Chrome installed.

google-chrome --version

Example output:

Google Chrome 109.0.5414.74

Additionally, if you’ve added the necessary repository, you can install the beta or unstable versions of Google Chrome. It’s important to note that these versions are not recommended for regular use, particularly on a primary desktop or production environment. However, for those who enjoy testing new features, the following commands can be used to install the beta or unstable builds.

Note that they do not replace your stable version and are installed separately.

Run the following command to install Google Chrome beta.

sudo zypper in google-chrome-beta

Next, verify the installation.

google-chrome-beta --version

Example output:

Google Chrome 110.0.5481.30 beta

Run the following command to install Google Chrome unstable.

sudo zypper in google-chrome-unstable

As with the other versions, use the following command to verify the installation.

google-chrome-unstable --version

Example output:

Google Chrome 111.0.5532.2 dev

Step 5: Launch Google Chrome

After completing the installation, you can launch Google Chrome using the command line or the application icon. To open it via the command line, use the following command in your terminal:

google-chrome-stable

It’s important to note that if you have installed the beta or unstable version of the browser, you will need to include -beta or -unstable after the google-chrome command in the terminal:

google-chrome-beta
google-chrome-unstable

Alternatively, you can launch it by finding the application icon and clicking on it via the application launcher.

GNOME:

Activities > Show Applications > Google Chrome {version}.

KDE, XFCE:

See also
How to Install Neofetch on Rocky Linux EL9 or EL8

Taskbar > Internet > Google Chrome {version}.

Example from KDE:

Upon opening Chrome for the first time, you will be presented with a pop-up window. This message contains the usual options for sending crash information to Google and setting Chrome as the default browser. Uncheck or leave as is and click the OK button to continue. After that, you will be directed to the default search engine’s homepage, typically the Google homepage.

Example (Click Image to Enlarge):

And that is it; you have successfully installed Google Chrome.

Step 6: Additional Commands & Tips

Update Google Chrome Browser

Google Chrome users will receive notifications of updates as long as they are installed through the Zypper package manager, and the rest of the system updates are set to be automatic. However, it’s still recommended to regularly check for updates via the command-line terminal to ensure that updates, mainly if using the GUI update method, are correctly retrieved and installed.

sudo zypper ref

Next, you can run an update check to determine if any updates are available for Google Chrome and other system packages that were installed with the Zypper package manager.

sudo zypper update

Remove Google Chrome Browser

For users who wish to remove Google Chrome from their system, one of the following commands can be used depending on the version of Chrome installed.

sudo zypper remove google-chrome-stable

It’s worth noting that when removing Google Chrome, any unused dependencies will also be removed. If you wish to remove an alternative version of Chrome while keeping the stable version, you can do so individually by using one of the following commands.

sudo zypper remove google-chrome-beta
sudo zypper remove google-chrome-unstable

Conclusion

Installing Google Chrome on OpenSUSE Leap 15 and Tumbleweed is a quick and easy process that can be done using the command line terminal. The benefits of using Google Chrome on these operating systems include its fast performance, user-friendly interface, and wide selection of extensions and apps.

Leave a Comment

Share to...