Installing Visual Studio Code on Centos7
1. Enable Yum Repository
sudo vi /etc/yum.repos.d/vscode.repo
Add the below:
[vscode]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
2. Import the package signing GPG key
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
3. Install Visual Studio Code
sudo yum check-update
sudo yum install code
That's all folks! 3 steps only.
Fyi, I referred to https://tecadmin.net/install-visual-studio-code-editor-in-fedora/ for this.
No comments:
Post a Comment