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

RPM package lacks shortcut in PATH #11431

Closed
joaomoreno opened this issue Sep 2, 2016 · 5 comments
Closed

RPM package lacks shortcut in PATH #11431

joaomoreno opened this issue Sep 2, 2016 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux verified Verification succeeded
Milestone

Comments

@joaomoreno
Copy link
Member

Just installed the Insiders RPM package in CentOS and code-insiders wasn't placed on the $PATH:

➜  ~ sudo find / -name 'code-insiders'
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/share/code-insiders
/usr/share/code-insiders/bin/code-insiders
/usr/share/code-insiders/code-insiders
➜  ~ which code-insiders
/usr/bin/which: no code-insiders in (/home/joao/.nvm/versions/node/v5.10.1/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/joao/bin)
@dbaeumer dbaeumer added bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority labels Sep 2, 2016
@dbaeumer dbaeumer added this to the August 2016 milestone Sep 2, 2016
@dbaeumer
Copy link
Member

dbaeumer commented Sep 2, 2016

Looks like a regression

@Tyriar
Copy link
Member

Tyriar commented Sep 2, 2016

There is meant to be a symlink in /usr/bin, created here https://github.com/Microsoft/vscode/blob/master/resources/linux/rpm/code.spec.template#L33

@joaomoreno can you do a ls /usr/bin | grep code? I'll try repro when I get to the office

@Tyriar
Copy link
Member

Tyriar commented Sep 2, 2016

I managed to repro this when installing via the UI package manager but not when installing via the command line. Note that installing via the command line (yum) requires sudo

@Tyriar
Copy link
Member

Tyriar commented Sep 2, 2016

Taking it off August since this is not a regression, at least not in the past month.

@Tyriar Tyriar modified the milestones: September 2016, August 2016 Sep 2, 2016
@Tyriar Tyriar removed the important Issue identified as high-priority label Sep 20, 2016
@Tyriar Tyriar modified the milestones: October 2016, September 2016 Sep 26, 2016
@Tyriar Tyriar closed this as completed in 7492ba5 Oct 23, 2016
@Tyriar
Copy link
Member

Tyriar commented Oct 23, 2016

To verifier, please verify using Fedora:

  • Install rpm using software center
  • Ensure code/code-insiders command shows up in the terminal
  • Uninstall package
  • Ensure code/code-insiders command is not available in terminal
  • Install via command line (see docs)
  • Ensure code/code-insiders command shows up in the terminal

@Tyriar Tyriar added the linux Issues with VS Code on Linux label Oct 23, 2016
@chrmarti chrmarti added the verified Verification succeeded label Oct 27, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
lemanschik pushed a commit to code-oss-dev/code that referenced this issue Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants