From 891497a02fe7ab6116a87f5c01cd1b92223c1837 Mon Sep 17 00:00:00 2001 From: Avinesh Kumar Date: Tue, 1 Dec 2026 14:42:17 +0100 Subject: [PATCH] docs: add openSUSE and SLES dependency instructions The npm and contributing pages gave build dependencies for Ubuntu, Fedora and Alpine only. Add the equivalent zypper command for SLES and openSUSE, with the same package set. --- docs/CONTRIBUTING.md | 6 ++++++ docs/npm.md | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index b0a467f9be2a..c1150174427d 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -61,6 +61,12 @@ install the following dependencies: sudo apt-get install build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev libkrb5-dev python-is-python3 ``` +On SLES and openSUSE: + +```shell +sudo zypper install gcc gcc-c++ make libX11-devel libxkbfile-devel libsecret-devel krb5-devel python3 +``` + These are required by Code. See [their Wiki](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites) for more information. diff --git a/docs/npm.md b/docs/npm.md index 0916115f6a44..2eabb2732fe3 100644 --- a/docs/npm.md +++ b/docs/npm.md @@ -6,6 +6,7 @@ - [Node.js version](#nodejs-version) - [Ubuntu, Debian](#ubuntu-debian) - [Fedora, CentOS, RHEL](#fedora-centos-rhel) +- [SLES and openSUSE](#sles-and-opensuse) - [Alpine](#alpine) - [macOS](#macos) - [FreeBSD](#freebsd) @@ -60,6 +61,19 @@ npm config set python python2 Proceed to [installing](#installing) +## SLES and openSUSE + +```bash +sudo zypper install -y \ + gcc \ + gcc-c++ \ + make \ + pkg-config \ + python3 +``` + +Proceed to [installing](#installing) + ## Alpine ```bash