How to install Visual Code on openSUSe Linux

I have noticed that the VSCode installer always end up with error in OpenSuse TumbleWeed edition. Here is my alternative solution to the problem.

Launch your console and issue the following

curl -sSL -o code.tar.gz
sudo mkdir -p /opt/code && sudo tar zxf code.tar.gz -C /opt/code --strip-components=1
sudo ln -sf /opt/code/code /usr/local/bin

This will install VS Code on Suse , in case it didn’t update repository and try install again by using following code

sudo zpper refresh
sudeo zypper install code

Create Install script

We can create a script to install the app. Add those three lines of scripts to the file.

It also require that , the files has permission to execute the file. Set the file permission using

chmode +x

Now we are ready to run the file by running the ./ command.

Published by


A developer,teacher and a blogger obsessed with Python,Dart and open source world from India

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.