Google Chrome is based on the open-sourced Chromium but has proprietary bits added by Google. This partly caused openSUSE and SLES to not include Google Chrome in their default zypper repository.

Google hosts Google Chrome package in their own repository and you can add them to zypper and install Google Chrome for openSUSE and SLES.

Steps to install Google Chrome on openSUSE and SLES:

  1. Open Terminal from the application launcher.
  2. Add Google-Chrome repository to zypper.
    > sudo zypper addrepo http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
    [sudo] password for root: 
    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.
  3. Refresh zypper package list from the repository.
    > sudo zypper refresh
    Retrieving repository 'Google-Chrome' metadata ---------------------------------------------[\]
    Looking for gpg key ID 3CB3BD13 in cache /var/cache/zypp/pubkeys.
    Repository Google-Chrome does not define additional 'gpgkey=' URLs.
    Warning: File 'repomd.xml' from repository 'Google-Chrome' is signed with an unknown key '78BD65473CB3BD13'.
    
        Note: Signing data enables the recipient to verify that no modifications occurred after the
        data were signed. Accepting data with no, wrong or unknown signature can lead to a
        corrupted system and in extreme cases even to a system compromise.
    
        Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of
        the whole repo.
    
        Warning: We can't verify that no one meddled with this file, so it might not be trustworthy
        anymore! You should not continue unless you know it's safe.
    
    File 'repomd.xml' from repository 'Google-Chrome' is signed with an unknown key '78BD65473CB3BD13'. Continue? [yes/no] (no): yes

    Type yes and press Enter to continue.

  4. Download public key for Google Chrome's repository.
    > wget https://dl.google.com/linux/linux_signing_key.pub
    --2020-05-17 09:15:03--  https://dl.google.com/linux/linux_signing_key.pub
    Resolving dl.google.com (dl.google.com)... 216.58.203.78, 2404:6800:4001:804::200e
    Connecting to dl.google.com (dl.google.com)|216.58.203.78|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 10218 (10.0K) [application/octet-stream]
    Saving to: ‘linux_signing_key.pub’
    
    linux_signing_key.pub   100%[==============================>]   9.98K  --.-KB/s    in 0.001s  
    
    2020-05-17 09:15:03 (13.7 MB/s) - ‘linux_signing_key.pub’ saved [10218/10218]
  5. Import downloaded key to rpm.
    > sudo rpm --import linux_signing_key.pub
    warning: Rebuilding outdated index databases
    warning: Generating 18 missing index(es), please wait...
  6. Install google-chrome package via zypper.
    > sudo zypper install --no-confirm google-chrome-stable
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following 5 NEW packages are going to be installed:
      google-chrome-stable libappindicator3-1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libindicator3-7
    
    5 new packages to install.
    Overall download size: 63.9 MiB. Already cached: 0 B. After the operation, additional 225.0 MiB
    will be used.
    Continue? [y/n/v/...? shows all options] (y): y
  7. Open google-chrome from the application launcher or terminal.
  8. Select options to accept and click on the Ok button.
  9. Start using Google Chrome on your openSUSE or SLES.

Guide compatibility:

Operating System
openSUSE Tumbleweed
openSUSE Leap 15.1
openSUSE Leap 15.0
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
Discuss the article:

Comment anonymously. Login not required.

Share!