vscode的安装卸载

4 篇文章 0 订阅

ubuntu 虚拟机上安装vscode,遇到了很多奇怪的问题,包括:1)安装完,启动快捷方式不见;2)EXTENSIONS 安装异常;3)C/C++ extension 安装完之后 go to definition 失效;4)extension 在线更新异常;

来来回回试了几种安装方法,这里介绍一套安装和卸载vscode的方法,以及安装VSIX的方法。
ubuntu-make介绍:
Ubuntu Make is a command line tool which allows you to download the latest version of popular developer tools on your installation, installing it alongside all of the required dependencies (which will only ask for root access if you don’t have all the required dependencies installed already), enable multi-arch on your system if you are on a 64 bit machine, integrate it with the Unity launcher. Basically, one command to get your system ready to develop with!
详细介绍: https://wiki.ubuntu.com/ubuntu-make

  1. PPA安装Ubuntu make
    sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
    sudo apt-get update
    sudo apt-get install ubuntu-make

  2. 安装
    umake ide visual-studio-code

  3. 卸载
    umake ide visual-studio-code --remove

  4. 使用umake命令行
    比如, 查找那些通过umake安装的环境.
    $umake --list-installed
    ps: 使用 umake -h

  5. 在线安装extentions失败的安装处理:
    1.下载vsix
    cpptools-linux.vsix - for 64-bit Linux

    1. 安装
      左上方的省略号,中间有“Install for VSIX”
      在这里插入图片描述
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值