I've been trying to install MS Visual Studio Code after it was announced today, on my Ubuntu 14.04 computer. I've read the official docs and setup from Microsoft and I've read an answer to a question on this forum that asks for the installation process of Visual Studio Code.

But my question is specific, when I attempt to extract the downloaded zipped file to a new folder (as suggested by Microsoft), I get this error.

Even when I skip the extract to another folder process and directly double click on Code, I still get the same error.

EDIT:

Unzipped from command line. It looks like everything was unzipped, but then when I double click on Code, nothing happens at all.

If I try to run Code through the terminal instead, I get this, and nothing else happens -

5195:0430/005338:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! 
See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. 
ATTENTION: default value of option force_s3tc_enable overridden by environment

enter image description here

  • That was my first thought. Downloaded thrice, with a computer restart after each failed attempt. Still no luck. – Manish Giri Apr 30 '15 at 4:17
  • 1
    Unzipped through the terminal. I didn't get any errors, but the code doesn't give any response. – Manish Giri Apr 30 '15 at 4:36
  • When I do ./Code from the unzipped directory vscode (following instruction in Ron's answer here), I get this in the terminal, and nothing else happens: [5195:0430/005338:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. ATTENTION: default value of option force_s3tc_enable overridden by environment. – Manish Giri Apr 30 '15 at 4:56
  • If I click on Code in the "Files" application it starts for me. If I type "Code" or "Code &" in the terminal window, I get the error message that you got, but the program starts. You wrote "code" in your post, but for me it is "Code". – Scooter Apr 30 '15 at 6:15
  • Setting +x flag and running ./Code is OK for me, but I had to extract from the terminal with unzip VSCode-linux-x64.zip (in an empty folder). Also downloading the archive gives 408 for me at the end (near 99%). – Amir Ali Akbari May 5 '15 at 18:21

cd to the directory where you have downloaded VSCode-linux-x64.zip and run unzip VSCode-linux-x64.zip -d ./vscode to extract the contents of downloaded .zip file to a folder vscode. I did it and it did not give me any error. I could not run it by clicking Code because I am getting -bash: ./Code: cannot execute binary file: Exec format error, mostly because I am using 32-bit linux.

EDIT: Since you said you are getting default value of option force_s3tc_enable overridden by environment error, try installing ttf-mscorefonts-installer by sudo apt-get install ttf-mscorefonts-installer. It might help.

  • I was able to unzip it through the terminal, but when I click on "Code", nothing happens. My computer is 64-bit, so that's not an issue I guess. – Manish Giri Apr 30 '15 at 4:35
  • This is what I get when I do sudo apt-get install ttf-mscorefonts-installer : Reading package lists... Done Building dependency tree Reading state information... Done ttf-mscorefonts-installer is already the newest version. ttf-mscorefonts-installer set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded. No effect on Visual Studio Code. It just doesn't launch, no matter if I try it from the terminal or from the folder. – Manish Giri Apr 30 '15 at 14:49
  • i tried all this , but what really worked for me is this topic zahraaonline.com/3433 – Samy Massoud May 25 '15 at 7:49

protected by Community Apr 30 '15 at 10:04

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?

Not the answer you're looking for? Browse other questions tagged or ask your own question.