How to install Google Chrome on OpenSUSE

Endrit Qerreti

Endrit Qerreti

In this tutorial, you will learn how to install Google Chrome on OpenSUSE.

Google Chrome can be easily installed on OpenSUSE, by using the official Google chrome repository.

Google chrome repository is not enabled by default on OpenSUSE, which means if you wanted to install Google chrome from the terminal, it wouldn't be possible without having Google Chrome repository configured on your OpenSUSE machine.

To be able to install Google chrome via the terminal on OpenSUSE, first you must configure Google chrome repository.

In this tutorial, we'll be installing Google Chrome on OpenSUSE, directly from the terminal, by using the official Google Chrome repository.

Step 1 - Import Google Chrome GPG Key

First thing that you need to do is import Google Chrome GPG key on your OpenSUSE machine.

Google chrome GPG key is needed to ensure that the Google chrome package that will be downloaded is genuine.

To import Google Chrome GPG is quite easy, and it can be done by using the --import command.

To do so, first download the GPG key using wget.

wget -qO- https://dl.google.com/linux/linux_signing_key.pub > linux_signing_key.pub

Next, verify that Google Chrome GPG key linux_signing_key.pub was downloaded correctly.

ls *pub

As you can see, linux_signing_key.pub is downloaded correctly, and we can proceed to import it.

Now simply import Google Chrome GPG key on your OpenSUSE system.

sudo rpm --import linux_signing_key.pub

Enter your password when prompted, and press 'Enter' to finally import Google chrome GPG key.

Step 2 - Setup Google Chrome repository

Now that Google Chrome official GPG key is downloaded on your OpenSUSE machine, you need to proceed setting up Google Chrome repository on your system.

Adding Google Chrome repository in OpenSUSE can be done by using zypper package manager.

Having Google Chrome repository configured on your system, not only allows you to install Google chrome from the terminal, but it also allows you to install Google Chrome updates when released.

To do so, simply run the command below.

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

Step 3 - Update package database

After setting up Google chrome repository, in order to be able to use this repository, you must update the package database on your OpenSUSE machine.

To update package database, simply run the command below.

sudo zypper refresh

Once you update the package database, you will see Google Chrome repository on the output as shown in the screenshot below. This means that Google Chrome repository has been added correctly on your system.

Step 4 - Install Google Chrome on OpenSUSE

Google chrome repository is now active on your OpenSUSE system, so you can proceed to install it.

Installing Google Chrome on OpenSUSE can be done directly from the terminal, by using the default package manager.

To install Google Chrome via zypper, execute the following.

sudo zypper install google-chrome-stable

Next, you need to confirm installing Google Chrome. To do so, simply type 'Y' and then press 'Enter'.

Step 5 - Launch Google Chrome on OpenSUSE

Google Chrome is now installed on your OpenSUSE system, which means you can now start using it.

To launch Google Chrome on OpenSUSE, you can do so by using Terminal, or simply via Applications Menu.

Launch Google Chrome via terminal on OpenSUSE

If you are a terminal fan, and want to launch Google Chrome directly from the terminal, then simply run the command below.

google-chrome

Launch Google Chrome via Applications Menu on OpenSUSE

To launch Google Chrome via applications menu instead, simply follow the steps below.

1) Click Activities.

2) Locate, or search for "Google Chrome".

3) Click "Google Chrome" and launch it.

Conclusion

In this tutorial, you learned how to install Google Chrome on OpenSUSE via the official Google Chrome repository.