0

Today, I read here that Microsoft Launches Visual Studio now support Linux.

http://techcrunch.com/2015/04/29/microsoft-shocks-the-world-with-visual-studio-code-a-free-code-editor-for-os-x-linux-and-windows/#.djfjf7:7EEX

but after downloading it here https://code.visualstudio.com/Download

I have a zip file but I dont know how to install it.

I need help on command to use.

muru
  • 207,228
Olaitan Mayowa
  • 103
  • 1
  • 4

1 Answers1

2

For some reason, choosing "extract here" may throw up an error and may not extract. You can, however, manually extract the archive.

Use this command to unzip the zip file to your user Home directory. Assuming the zip file is in your Downloads folder:

unzip ~/Downloads/VSCode-linux-x64.zip

If the zip file is in your Desktop folder and not Downloads, use these commands instead:

unzip ~/Desktop/VSCode-linux-x64.zip

To run, execute the following command:

~/VSCode-linux-x64/code &

It is also recommended you make a link so that you can easily run it in the future:

sudo ln -s ~/VSCode-linux-x64/code /usr/local/bin/vscode

Now, to run it in the future, you can execute:

vscode &

or press ALT + F2, type:

vscode

and then press ENTER.


Okay, it seems you have a 32 bit version of Ubuntu installed (i386) and the VSCode download is for a 64 bit architecture.

Here is how to install the 32 bit (i386) version.

Run the following commands:

wget "https://go.microsoft.com/fwlink/?LinkID=620885" -O vscode.zip
unzip vscode.zip
sudo ln -s ~/VSCode-linux-ia32/code /usr/local/bin/vscode

You should now be able to run Visual Studio by executing the following command:

vscode &
mchid
  • 44,904
  • 8
  • 102
  • 162