windows子系统WSl2中安装golang环境

步骤:下载linux安装包wget https://studygolang.com/dl/golang/go1.16.6.linux-amd64.tar.gz解压到指定目录rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.