I just downloaded VSCode-linux-x64 from the Microsoft website. It's a 62 MB zip file. How can I install it on my Ubuntu system?
|
|
|||||||||||||||||||||
|
UpdateVSCode is now available as DEB file. You can download it and then run Old answer
Source (install instructions): https://code.visualstudio.com/docs/setup/linux |
|||||||||||||||||||||
|
|
You can use Ubuntu Make to download and install Visual Studio Code:
Then install Visual Studio Code:
Then click on the Visual studio icon that it automatically places on your launcher. To remove it, delete the installation folder and right click on the launcher to unpin the icon. The installation folder defaults to References |
|||||||||||||||||||||
|
|
Now there's a .deb package for Ubuntu and Debian besides the rpm/zip. It is available here and may be installed as usual:
Works fine on Xenial. Maybe someone creates a PPA to simplify updates. Or it 'll become part of the official repository. Update 03/17: Since version 1.10 (February 2017) there is built-in support for official Linux repositories. VS Code now can auto-update on Linux, although you have to install it one time manually. |
|||||||||||||||||
|
|
Visual Studio Code enabled official Linux repositories on February 2017 (v1.10)
You can upgrade / dist-upgrade as usual
|
|||||||||||||||||||||
|
|
Since they provide a The way I've done it is as follows. Using a terminal:
The directory name is arbitrary.
You can also create a desktop link so that you can start it directly from the desktop or double-click in nautilus. To create a menu entry:
and copy and paste the following:
In my case the executable resides inside
I also downloaded an MS icon for this application from
and moved it to
|
|||||||||||||||||
|
|
Visual Studio Code doesn't have to be installed, per se. Instead you can unzip the archive wherever you want it, then run the program by double-clicking the file called Here's a GUI-oriented procedure for doing so:
|
||||
|
|
|
Install the snap.
|
|||
|
|
That’s it. Nothing special about this one and it should work in any Linux distribution. Just open your launcher and start typing Visual Studio Code. |
|||||
|
|
|||
|
|
|
I can't comment on the correct answer above (using PPA as of February), so I will add another detail here. Visual Code depends on libgtk2.0-0 which it does not list as a dependency in the meta data. You might come across this problem if you, like me, setup minimal virtualbox installations just to troubleshoot difficult system level problems where you have to hack and slash packages which you don't want to do on your real host. On minimal hosts, therefore the following is required in addition to what was mentioned above to get Visual Code to run:
|
|||
|
|
protected by muru May 2 '15 at 9:20
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?