我的ubuntu环境

前言

随着开发工具增多,windows的响应速度相比linux要低不少,因此使用wsl折衷方案,但是wsl的备份相对虚拟机就麻烦许多,所以开这篇文章更新我需要用到的常用依赖和工具。

##0x01

1. C/C++环境配置

  1. 依赖安装
sudo apt install build-essential gdb
  1. VSCode配置
    直接抄就可以用->VSCode调试配置

2. nodejs环境配置

  1. 基础环境配置
sudo apt install npm
sudo npm install n -g #安装node更新器
sudo n lts #安装LTS版本
  1. 另外可以顺便安装yarn代替npm
npm install -g yarn --registry=https://registry.npm.taobao.org
  1. 如果想换国内源
yarn config set registry https://registry.npm.taobao.org -g
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g

3. python

ubuntu18.04自带就不用装了