windows上使用wsl进行本地开发

2022/03/16 20:00:00 wsl 共 1052 字,约 4 分钟

年轻是我们唯一拥有权利去编织梦想的时光。

之前有用过wsl,发现很慢就没有再关注.最近因为需要用linux环境,重新安装了WSL体验了一下, 发现有很大的改进.

Ali focal 源

deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

WSL

重启

wsl --shutdown

VS Code on WSL

https://docs.microsoft.com/zh-cn/windows/wsl/tutorials/wsl-vscode image

GNU compiler tools and the GDB debugger

sudo apt-get install build-essential gdb

文档信息

打赏一下呗

对你有帮助,那就打赏一下吧

扫码支持
扫码打赏,金额随意

Search

    Post Tags Cloud

    Table of Contents