maomingchao

centos 7 安装vscode

网上很多写的安装,会遇到一个问题,就是无法启动;

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

  

yum check-update
sudo yum install code

  

yum install nss

  

posted on 2018-11-18 20:56  maomingchao  阅读(737)  评论(0编辑  收藏  举报

导航