- Hands-On Serverless Computing
- Kuldeep Chowhan
- 69字
- 2025-04-04 16:32:06
openSUSE and SLE-based distributions
The yum repository mentioned above for RHEL, CentOS, and Fedora distributions also works for openSUSE and SLE-based systems. The following script will install the signing key and repository:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/vscode.repo'
Then run the following commands to update the package cache and install the package:
sudo zypper refresh sudo zypper install code