Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install vscode centos 7

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo nano /etc/yum.repos.d/vscode.repo
	[code]
	name=Visual Studio Code
	baseurl=https://packages.microsoft.com/yumrepos/vscode
	enabled=1
	gpgcheck=1
	gpgkey=https://packages.microsoft.com/keys/microsoft.asc
sudo yum install code
sudo yum update
Comment

How to install vscode on centos 8

-Import the Microsoft GPG key:


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


-create the repository file in /etc/yum.repos.d/vscode.repo


$ sudo nano /etc/yum.repos.d/vscode.repo


-and type the below code


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


-Save the file press ctrl+x, the press y, hit Enter


$ sudo yum check-update


-Install Visual Studio Code type this command


$ sudo yum install code


-Successfully installed vscode
Comment

PREVIOUS NEXT
Code Example
Shell :: react icons 
Shell :: merge when pipeline succeeds gitlab 
Shell :: k8s roll back to previous deployment 
Shell :: download composer version 1.6.5 
Shell :: how to use brew to install ganache 
Shell :: untrack lfs file 
Shell :: Abort a Conflicting Merge in git command 
Shell :: install watchman on linux 
Shell :: install vim in wsl 
Shell :: redis-server specify port 
Shell :: online c linux compiler 
Shell :: stern install mac 
Shell :: linux find and remove bom from files 
Shell :: how to connect to a git repo in cmd 
Shell :: scp linux 
Shell :: journalctl size 
Shell :: how to reset git branch to a certain commit. 
Shell :: how to kill running process in linux 
Shell :: zsh mac vi 
Shell :: github gist api 
Shell :: osx add user to group 
Shell :: tar.exe zip format 
Shell :: clone a repository 
Shell :: centos helm 
Shell :: install ssms on ubuntu 18.04 
Shell :: gvm not generated password 
Shell :: how to recover last commit git 
Shell :: check size of folder linux 
Shell :: powershell redirect output to null 
Shell :: git copy file from another branch 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =