Google Chrome is not installed by default in openSUSE and SLES and is not even available in the default zypper repository. It is probably due to Google Chrome being proprietary software.
Google, however, provides an rpm repository of Google Chrome for zypper. You can add the repository to zypper and then install Google Chrome using the zypper tool at the terminal.
Steps to install Google Chrome on openSUSE and SLES:
- Open Terminal from the application launcher.
- 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.
- 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.
- 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]
- 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...
- 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
- Open google-chrome from the application launcher or terminal.
- Select options to accept and click on the Ok button.
- Start using Google Chrome on your openSUSE or SLES.
Author: Mohd
Shakir Zakaria
Mohd Shakir Zakaria is an experienced cloud architect with a strong development and open-source advocacy background. He boasts multiple certifications in AWS, Red Hat, VMware, ITIL, and Linux, underscoring his expertise in cloud architecture and system administration.
Mohd Shakir Zakaria is an experienced cloud architect with a strong development and open-source advocacy background. He boasts multiple certifications in AWS, Red Hat, VMware, ITIL, and Linux, underscoring his expertise in cloud architecture and system administration.
Discuss the article:
Comment anonymously. Login not required.