Google Chrome is a proprietary application even though that it is based on the open-sourced Chromium. This partly caused openSUSE and SLES to not include Google Chrome in their default zypper repository.

Google hosts Google Chrome repository and you can add them to zypper and install Google Chrome for openSUSE and SLES by following these steps:

  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 997C215E 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 '6494C6D6997C215E'.
    
        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 '6494C6D6997C215E'. Continue? [yes/no] (no): yes
    Retrieving repository 'Google-Chrome' metadata .....................................................................................................................................................[done]
    Building repository 'Google-Chrome' cache ..........................................................................................................................................................[done]
    Repository 'Main Repository (NON-OSS)' is up to date.
    Repository 'Main Repository (OSS)' is up to date.
    Repository 'Main Update Repository' is up to date.
    Repository 'openSUSE-20190510-0' is up to date.
    All repositories have been refreshed.

    Type yes and then Enter to continue despite the warning.

  4. Download public key for Google Chrome's repository.
    ~> wget https://dl.google.com/linux/linux_signing_key.pub
    --2019-05-21 16:02:29--  https://dl.google.com/linux/linux_signing_key.pub
    Resolving dl.google.com (dl.google.com)... 172.217.27.238, 2404:6800:4001:805::200e
    Connecting to dl.google.com (dl.google.com)|172.217.27.238|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 8038 (7.8K) [application/octet-stream]
    Saving to: ‘linux_signing_key.pub’
    
    linux_signing_key.pub                              100%[==============================================================================================================>]   7.85K  --.-KB/s    in 0.002s
    
    2019-05-21 16:02:29 (3.72 MB/s) - ‘linux_signing_key.pub’ saved [8038/8038]
  5. Import downloaded key to rpm.
    ~> sudo rpm --import linux_signing_key.pub
  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 6 NEW packages are going to be installed:
      google-chrome-stable libappindicator3-1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libindicator3-7 lsb-release
    
    6 new packages to install.
    Overall download size: 55.7 MiB. Already cached: 220.4 KiB. After the operation, additional 196.9 MiB will be used.
    Continue? [y/n/v/...? shows all options] (y): y
    In cache libdbusmenu-glib4-16.04.0-2.4.x86_64.rpm                                                                                                                    (1/6),  65.5 KiB (188.2 KiB unpacked)
    In cache libindicator3-7-16.10.0+bzr20171205-2.4.x86_64.rpm                                                                                                          (2/6),  44.4 KiB (110.8 KiB unpacked)
    In cache lsb-release-3.0-1.3.noarch.rpm                                                                                                                              (3/6),  19.7 KiB ( 29.2 KiB unpacked)
    In cache libdbusmenu-gtk3-4-16.04.0-2.4.x86_64.rpm                                                                                                                   (4/6),  53.7 KiB (156.5 KiB unpacked)
    In cache libappindicator3-1-12.10.1+bzr20170215-4.1.x86_64.rpm                                                                                                       (5/6),  37.1 KiB ( 92.6 KiB unpacked)
    Retrieving package google-chrome-stable-74.0.3729.157-1.x86_64                                                                                                       (6/6),  55.7 MiB (196.4 MiB unpacked)
    Retrieving: google-chrome-stable-74.0.3729.157-1.x86_64.rpm ..........................................................................................................................[done (778.9 KiB/s)]
    Checking for file conflicts: .......................................................................................................................................................................[done]
    (1/6) Installing: libdbusmenu-glib4-16.04.0-2.4.x86_64 .............................................................................................................................................[done]
    (2/6) Installing: libindicator3-7-16.10.0+bzr20171205-2.4.x86_64 ...................................................................................................................................[done]
    (3/6) Installing: lsb-release-3.0-1.3.noarch .......................................................................................................................................................[done]
    (4/6) Installing: libdbusmenu-gtk3-4-16.04.0-2.4.x86_64 ............................................................................................................................................[done]
    (5/6) Installing: libappindicator3-1-12.10.1+bzr20170215-4.1.x86_64 ................................................................................................................................[done]
    (6/6) Installing: google-chrome-stable-74.0.3729.157-1.x86_64 ......................................................................................................................................[done]
    Additional rpm output:
    service: no such service atd
    /var/tmp/rpm-tmp.Ks3zSL: line 613: echo: write error: Broken pipe
    update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
  7. Open Google Chrome from the application launcher.
  8. Accept options 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
Leave a comment:
Share!