Ubuntu WSL的常用设置 1. 换源 编辑/etc/apt/sources.list文件,添加国内镜像源,下图以Ubuntu2004wsl为例 2. 换成中文 2.1安装中文语言包 sudo apt-get install ttf-wqy-zenhei sudo apt-get install language-pack-zh-hans 2.2修改~/.profile文件,在最后添加 export LANG="zh_CN.UTF-8" export LC_ALL="zh_CN.UTF-8"