Linux serverNETWORK ADMINISTRATIONS

How to Install Visual Studio Code on CentOS7,RHEL7

How to install visual Studio Code in Centos7 and Fedora.

Step 1: Create a New File /etc/yum.repos.d/vscode.repo

sudo vim /etc/yum.repos.d/vscode.repo

Add below content in above file .

[vscode]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc

Step 2: Importing GPG Key ,

sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc

After Importing GPG Key , Install Software .

yum check-update
sudo yum install code

its Done ….

Thanks for watching .. please subscribe if you like this video …

How to Remove VSC in Centos7 and Fedora….

sudo yum remove code

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *