Google Chrome is the most used Internet Explorer software on the earth, with a recent update in 2021 that Chrome is currently the primary browser of more than 2.65 billion internet users. However, as you would know, after installing openSUSE, only Mozilla Firefox is packaged with the distribution but luckily, installing Google Chrome is a straightforward task.
In the following tutorial, you will learn how to install Google Chrome in three various ways in stable, beta, or unstable versions on openSUSE Leap 15.
Table of Contents
- Recommended OS: openSUSE Leap – 15.x
- User account: A user account with sudo or root access.
Update Operating System
Update your openSUSE operating system to make sure all existing packages are up to date:
sudo zypper refresh
The tutorial will be using the sudo command and assuming you have sudo status.
To verify sudo status on your account:
Example output showing sudo status:
[joshua@opensuse ~]$ sudo whoami root
To set up an existing or new sudo account, visit our tutorial on adding a User to Sudoers on openSUSE.
To use the root account, use the following command with the root password to log in.
Import GPG Key & Repository
To successfully install Google Chrome and have the most up-to-date version in either stable, beta, or unstable, you must install the Google Chrome repository. This includes importing the GPG key to verify the authenticity of the installation and the repository itself.
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:
Next, import the GPG key as follows:
sudo rpm --import linux_signing_key.pub
Import Google Chrome Stable and or Beta, Unstable Repositories
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
Once imported, force the metadata cache to be updated.
sudo zypper ref -f
Install Chrome Browser
The next task is to install Google Chrome now. To do this, copy and paste the following command into your terminal to initiate the installation.
sudo zypper in google-chrome-stable
Type “Y”, then press the “ENTER KEY” to proceed with the installation.
Next, verify the build and version of Chrome installed. This also indicates that Chrome was installed successfully.
Google Chrome 95.0.4638.54
Install Google Chrome Beta / Unstable
Alternatively, you can install Google Chrome Beta or Unstable if you have downloaded the repositories using the wget command. These two versions are not recommended daily, especially not on a main desktop or production server. However, for those who want to live on the edge, you can install the alternative versions.
To install Google Chrome Beta:
sudo zypper in google-chrome-beta
To install Google Chrome Unstable (Dev):
sudo zypper in google-chrome-unstable
Note, these do not replace your stable version, and they are installed separately.
Next, verify the installation of beta or unstable, use the following command.
To verify Google Chrome Beta:
Google Chrome 95.0.4638.54 beta
To verify Google Chrome Unstable:
Google Chrome 96.0.4664.18 dev
How to Launch Google Chrome Browser
Now that you have installed Chrome, you can launch the application. You can type the following command in the terminal to launch Chrome:
To run Chrome in the background and continue using the terminal:
However, this isn’t practical, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Google Chrome. If you cannot find it, use the search function in the Show Applications menu if you have many applications installed.
The first time you open Google Chrome, you will be greeted by the following pop up:
Untick or leave as is and click the OK button to continue.
You will be prompted to sign in, skip this, or sign in optionally. Then you will see The Google Chrome Internet Browser finally as per below:
Congratulations, you have installed Google Chrome on your desktop operating system.
How to Update Google Chrome Browser
To update Google Chrome, run the zypper refresh command in your terminal:
sudo zypper refresh
This command should be used regularly to make sure all your system packages are kept up to date.
How to Remove (Uninstall) Google Chrome Browser
To remove Google Chrome, use the following command:
sudo zypper remove google-chrome-stable
Type “Y,” then press the “ENTER BUTTON” to proceed with the uninstall.
If you have the beta or unstable builds installed.
To remove Google Chrome Beta:
sudo zypper remove google-chrome-beta
To remove Google Chrome Unstable (Dev build):
sudo zypper remove google-chrome-unstable
Comments and Conclusion
In the tutorial, you have learned how to add and import the GPG key and repository, then install Google Chrome’s latest stable version on openSUSE Leap. Overall, Chrome is the most used browser on the planet, with 70% of users using it. Remember, it is probably one of the most targeted Internet Browsers for zero-day exploits. Keep it up to date, and you will be fine.