安装wsl
在Microsoft store 下载 ubuntu18.4 LTS
更换源
使用vscode编辑(推荐)
sudo chowm -R 用户名/etc/apt/sources.list
code /etc/apt/sources.list
将下面内容复制到sources.list中(也可以使用其他源)
#alicloud
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe