杂七杂八之Ubuntu-16.04安装 vs code

1.安装微软Visual Studio Code:

       首先需要安装Ubuntu Make。虽然Ubuntu Make存在Ubuntu15.04官方库中,但是需要Ubuntu Make 0.7以上版本才能安装Visual Studio。所以,需要通过官方PPA更新到最新的Ubuntu Make。此PPA支持Ubuntu 14.04, 14.10 和 15.04。 

        注意,仅支持64位版本。 

 

打开终端,使用下列命令,通过官方PPA来安装Ubuntu Make:

    sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
    sudo apt-get update
    sudo apt-get install ubuntu-make

安装Ubuntu Make完后,接着使用下列命令安装:

umake web visual-studio-code

如果出现如下状况:

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

请用如下命令安装:

sudo umake ide visual-studio-code

安装过程中会询问安装路径,我是直接确认采用默认路径。如下图:

WARNING: Visual Studio Code is now in the ide category, please refer it from this category from now on. This compatibility will be dropped after Ubuntu 16.04 LTS.
Choose installation path: /home/lyb/.local/share/umake/web/visual-studio-code
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT VISUAL STUDIO CODE

遇到下图直接选择a接受即可。

It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your state or country may not allow the exclusion or limitation of incidental, consequential or other damages.
[我接受 (a)/我不接受 (N)] 

     

至此,VS code已经安装完成,至于使用使用哪种语言进行开发工作需要安装什么插件,怎么下回见再讲。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值