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 :: execute bash script from anywhere 
Shell :: git cannot spawn gpg no such file or directory 
Shell :: replace filename space with underscore bash 
Shell :: android_home ubuntu 
Shell :: how to uninstall git in ubuntu 18.04 
Shell :: install ifconfig on ubuntu 
Shell :: brew install virtualbox 
Shell :: apt-get install ps 
Shell :: how to delete a remote branch in git 
Shell :: git submodules pull 
Shell :: install material ui icons 
Shell :: clean uninstall ubuntu-desktop from ubuntu server 
Shell :: check flutter version of project from command line 
Shell :: install audacity linux 
Shell :: delete git repository command line 
Shell :: change git commit message 
Shell :: npm install @reach/router 
Shell :: how to install golang on manjaro 
Shell :: install inkscape ubuntu 20.04 
Shell :: Unable to resolve dependency tree error when installing npm packages 
Shell :: delete namespace stuck in terminating 
Shell :: install jenkins on ubuntu 
Shell :: how to change the icon of a python exe file 
Shell :: git get repository url 
Shell :: add user to sudoers 
Shell :: install pecl ubuntu 
Shell :: heroku select app 
Shell :: expo start production mode 
Shell :: mac httpd stop 
Shell :: how to enable scroll lock in ubuntu 20 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =