Then update the package cache and install the package using dnf (Fedora 22 and above): Sudo sh -c 'echo -e "\nname=Visual Studio Code\nbaseurl=\nenabled=1\ngpgcheck=1\ngpgkey=" > /etc//vscode.repo' We currently ship the stable 64-bit VS Code in a yum repository, the following script will install the key and repository: In case the link for the instructions breaks in the future, I quote them here: These instructions recommend installing via package manager rather downloading the RPM for the latest stable release. The official instructions for installation visual studio code on CentOS is provided here. Approach 1 - Following official instructions (install via package manager) There are two approaches that I have tried to install visual studio code on my CentOS 7 system.
0 Comments
Leave a Reply. |