ubuntu16.04安装vscode1.36

下载安装包 code_1.36.1-1562627527_amd64.deb
https://code.visualstudio.com/download
安装:

sudo dpkg -i code_1.36.1-1562627527_amd64.deb 

如果报依赖错误:
code depends on libnss3 (>= 2:3.26); however:
安装 依赖库:

sudo apt install libnotify4 libnss3 libxkbfile1 libgconf-2-4 libsecret-1-0 libgtk-3-0 libxss1

之后重新安装deb包。完成后执行命令启动vscode。

code

可能会弹窗报错:
Please make sure the directories /home/cyc/.config/Code and /home/cyc/.vscode/extensions are writeable.

解决方式:

cd /home/cyc/.config/
sudo rm -rf Code/

执行命令启动vscode。

code

Ubuntu16.04下配置VScode的C/C++开发环境
https://blog.csdn.net/weixin_43374723/article/details/84064644

你可能感兴趣的:(编程语言,其他)