温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Ubuntu-16.04怎么安装VS code

发布时间:2021-09-01 09:44:38 来源:亿速云 阅读:115 作者:chen 栏目:互联网科技

本篇内容主要讲解“Ubuntu-16.04怎么安装VS code”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Ubuntu-16.04怎么安装VS code”吧!

安装微软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-makesudo apt-get updatesudo 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-codeMICROSOFT SOFTWARE LICENSE TERMSMICROSOFT 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)]

Ubuntu-16.04怎么安装VS code

到此,相信大家对“Ubuntu-16.04怎么安装VS code”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI