Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do VSCode couldn't show on my Unbuntu form terminal ? #3653

Closed
MingningShao opened this issue Mar 3, 2016 · 6 comments
Closed

Why do VSCode couldn't show on my Unbuntu form terminal ? #3653

MingningShao opened this issue Mar 3, 2016 · 6 comments
Assignees
Labels
linux Issues with VS Code on Linux

Comments

@MingningShao
Copy link

Installed vscode as the followed tutorial,
https://code.visualstudio.com/Docs/editor/setup
when i typed code . ,why there nothing happend ?

@Tyriar Tyriar self-assigned this Mar 3, 2016
@Tyriar Tyriar added the linux Issues with VS Code on Linux label Mar 3, 2016
@Tyriar
Copy link
Member

Tyriar commented Mar 3, 2016

Did you replace /path/to/vscode/Code with the actual path? Did you get any error at all? If not, can you let me know where you installed it and what exact ln command you ran?

@MingningShao
Copy link
Author

Yeah.
I extracted VSCode-linux-x64.zip to /root/VSCode-linux-x64,and typed command(BTW,I am a root user.) : ln -s /root/VSCode-linux-x64/Code /usr/local/bin/code.
I also have a question,dose vscode can only run on Ubuntu with desktop ?

@Tyriar
Copy link
Member

Tyriar commented Mar 3, 2016

I would expect that to work if you downloaded the stable build from the code.visualstudio.com homepage (the insiders build works a little different). Do you get any output from the program at all, any errors, or just nothing?

You can also try just directly calling /root/VSCode-linux-x64/Code, as all /usr/local/bin/code is suppose to be is a symlink to it.

RE your question: Do you mean other Linux distros? It works generally on Debain-based distros, I'm currently going through support on Red Hat now in #3603.

@stylemistake
Copy link

@MingningShao Root directory has no read permissions for non-root users, it means that symlink won't work. I suggest to unpack it into /opt directory instead.

@MingningShao
Copy link
Author

I tried, but it didn't work.
The reason why VSCode didn't work, may be i just used xshell.That's just a terminal emulator.
I installed ubuntu on my PC,and download VSCode,finally it worked.
Thanks a lot !@Tyriar @stylemistake

@Tyriar
Copy link
Member

Tyriar commented Mar 8, 2016

👍

@Tyriar Tyriar closed this as completed Mar 8, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
linux Issues with VS Code on Linux
Projects
None yet
Development

No branches or pull requests

3 participants