-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add Linux manual repo installation instructions #850
Comments
The new install is this when using the # Install key
wget -O- -q https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc
sudo rpm --import microsoft.asc
# Install repo
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
# Update yum's cache
yum check-update
# Install
sudo yum install code Note that there are a bunch of other package managers that we will also want to include here. |
Sounds good Daniel.
What other package managers do you recommend including? |
Will the old download experience for RPM no longer work? (i.e. when we release next week will users be blocked from being able to download RPM?) |
We can stick with yum for now and add them over time but zypper is another common one. Downloading the package will still work but it won't let you auto-update, so we want to steer people towards the repository. |
I updated the instructions in 261469d. Now we just need to old rpm package download links on the home page to point at https://code.visualstudio.com/docs/setup/linux#_installation, @waderyan would you be able to handle that for me? It would probably be fine to keep the download icon as is as well, that's still what they're going to be doing just the package manager will handle the download now. As for the download page, we probably want to change that too but I'm not sure how just yet since we also want to expose all existing download methods for people who need 32-bit, a tarball or just need to download the package to install offline. I'm fine with deferring changing https://code.visualstudio.com/Download until after we publish 1.10 since it might involve some bigger changes. |
Submitted #866 for openSUSE/SLE instructions. |
Step 1 is complete. We now will link to rpm instructions for rpm 64 bit. |
Closing old issue (no activity in over a year). @Tyriar Let me know if there is still some work required. |
@gregvanl this is done 👍 |
Follow up from microsoft/vscode#2973 microsoft/vscode#229
Isn't strictly needed for apt (as it's auto installed with the package) but probably a good idea to make it easier for people who want to automate their setup.
The text was updated successfully, but these errors were encountered: