VS CODE for Ubuntu16.04安装

周围的麻瓜们都在用VS CODE我看了一下觉得还可以,决定入坑

在度娘上搜索VS CODE Ubuntu安装

如下

Ubuntu16.04下安装VS Code

在Ubuntu下面安装Visual Studio Code

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
umake web visual-studio-code

但是在最后一步无情报错

rezin@rezin-IdeaCentre-B540p:~$ umake web visual-studio-code
usage: umake web [-h] {phantomjs,firefox-dev} ...
umake web: error: argument framework: invalid choice: 'visual-studio-code' (choose from 'phantomjs', 'firefox-dev')


架构冲突

再搜索发现一哥们的评论

[1]
来自北京的 Firefox 54.0|Ubuntu 用户 发表于 2017-08-13 20:16 的评论:
ERROR: Package requirements can't be met: [Errno 1] Operation not permitted
我在安装的时候出现了这个错误  怎么解决
来自上海上海大学的 Firefox 55.0|Ubuntu 用户 2017-08-18 15:55 回复

sudo 试试


sudo后还是不行,于是去vs官网寻求解决方案


Installation

Debian and Ubuntu based distributions

The easiest way to install for Debian/Ubuntu based distributions is to download and install the .deb package (64-bit) either through the graphical software center if it's available or through the command line with:

sudo dpkg -i <file>.deb
sudo apt-get install -f # Install dependencies

Installing the .deb package will automatically install the apt repository and signing key to enable auto-updating using the regular system mechanism. Note that 32-bit and .tar.gz binaries are also available on the download page.

The repository and key can also be installed manually with the following script:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

Then update the package cache and install the package using:

sudo apt-get update
sudo apt-get install code # or code-insiders

微软老铁还是建议最简单的是下载deb安装包安装

下载后直接双击打开,点击install直接就装好了





  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值