Page Top

WSL 修复同步记录

WSL 修复同步记录

wsl --unregister Ubuntu
wsl --install
---
$ sudo su
# cp /etc/apt/sources.list /etc/apt/sources.list.bak
---
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
---
# vim /etc/apt/sources.list
# apt update
# apt upgrade -y
# apt install language-pack-zh-hans -y
# apt install fontconfig -y
# apt install fonts-noto-cjk fonts-wqy-microhei fonts-wqy-zenhei -y
# dpkg-reconfigure locales
# apt install manpages-zh
# sed -i 's|/usr/share/man|/usr/share/man/zh_CN|g' /etc/manpath.config
# apt install -y build-essential vim gdb fpc python3 python3-pip
# exit
$ exit
---
$ code.
posted @ 2024-03-15 20:29  RainPPR  阅读(15)  评论(0编辑  收藏  举报