LxRunOffline 使用教程 - WSL 自定义安装、备份 - P3TERX ZONE https://p3terx.com/archives/manage-wsl-with-lxrunoffline.html
Manual installation steps for older versions of WSL | Microsoft DocsStep by step instructions to manually install WSL on older versions of Windows, rather than using the wsl install command.https://docs.microsoft.com/en-us/windows/wsl/install-manual
下载后将Ubuntu_2004.2020.424.0_x64.appx .appx后缀改为.zip 进行解压,解压后目录中会有一个install.tar.gz文件,然后运行西面的命令。
说明:-d 要安装的目录 -f Ubuntu子系统的解压路径
LxRunOffline i -n ubuntu-20.04 -d D:\Ubuntu -f D:\ubuntu_aa\aa\install.tar.gz