How to Install VS Code on openSUSE Leap 16 (Step by Step for Beginners)

beginnerSoftware Install2 min
Independently tested and verified on Nov 16, 2026. Commands reproduced exactly as run.
Video thumbnail: How to Install VS Code on openSUSE Leap 16 (Step by Step for Beginners)

Prerequisites

  • A computer running openSUSE Leap 16
  • An internet connection to download the .rpm file
  • Your account password, which sudo asks for during the install

This tutorial takes about 2 minutes to complete.

This guide shows how to install Visual Studio Code on openSUSE Leap 16 with apt: download the .deb file, install it with one command and start it. It follows the video, and every command below is the one typed on screen, ready to copy.

Before you start

You need a computer running openSUSE Leap 16, an internet connection and your account password: the install command asks for it.

Jump to a chapter in the video: Download .rpm · Install .rpm · Run VS Code

Step 1: Download the VS Code .rpm

Open your browser and go to code.visualstudio.com/download. In the Linux section click the .rpm download and the download starts. When it has finished, close the browser window.

The Visual Studio Code download page at code.visualstudio.com/download in the browser, with the Linux .rpm build.

Step 2: Open a terminal and go to your Downloads folder

Open a terminal and change into your Downloads folder with the first command below. Then run the second command to list the folder and see the exact name of the .rpm file.

cd ~/Downloads
ls

The terminal after running cd ~/Downloads and ls, which lists the downloaded .rpm file.

Step 3: Install the .rpm with zypper

Now install the file. Type sudo zypper install ./ followed by the first letters of the file name (code), press Tab to autocomplete the name and press Enter. The finished command is below. Enter your password and type y to continue. If zypper shows a signature error with the prompt Abort, retry, ignore, type i to ignore it and press Enter. The install lets you update Visual Studio Code with the latest stable version when you run sudo zypper refresh or update in the future. Reboot your computer when it finishes.

sudo zypper install ./code-1.146.0-1794340926.el8.x86_64.rpm

The terminal with the sudo zypper install ./code-1.146.0-1794340926.el8.x86_64.rpm command typed, ready to run.

Step 4: Start VS Code

To open VS Code, go to your applications menu, click Show apps and double-click Visual Studio Code. You can also open a terminal, type the command below and press Enter.

code

Visual Studio Code open on openSUSE Leap 16 after the install.

FAQ

Download the .rpm file from code.visualstudio.com/download, open a terminal in the folder with the file, run `sudo zypper install ./code-1.146.0-1794340926.el8.x86_64.rpm` and start it with the `code` command.
Yes. The sudo zypper install command asks for your account password; type it when the terminal asks.
If zypper asks Abort, retry, ignore after a signature warning, type i to ignore it and press Enter; the install then continues.

Never miss an issue

One email a week on local LLMs, DIY AI hardware, and the tools that power them. No spam — unsubscribe anytime.

Subscribe free

Products used in this tutorial

AMD Ryzen 9 9950X
cpu

AMD Ryzen 9 9950X

16-core, 32-thread AMD Ryzen 9 9950X desktop processor (Zen 5, AM5) with 5.7 GHz max boost and Radeon graphics — AMD's flagship mainstream CPU.

3 retailers
Gigabyte X870 Eagle WiFi 7
motherboard

Gigabyte X870 Eagle WiFi 7

AMD X870 ATX motherboard for AM5 with PCIe 5.0, DDR5, USB4, Wi-Fi 7 and 2.5GbE LAN — a modern foundation for Ryzen 9000-series desktop builds.

3 retailers
fanxiang S880R 1TB PCIe 4.0 NVMe SSD
storage

fanxiang S880R 1TB PCIe 4.0 NVMe SSD

fanxiang S880R 1TB PCIe 4.0 NVMe M.2 SSD with built-in heatsink — up to 7300MB/s reads and 3D TLC NAND for high-performance desktop and console storage.

2 retailers