1. 在“启用或关闭Windows功能”中启用以下两个选项:Windows虚拟机平台、适用于Linux的Windows子系统。
2. 从Windows Store下载Debian安装
3. 进入Debian命令行,更新下载源 /etc/apt/soures.list
deb http://mirrors.tuna.tsinghua.edu/debian/ bullseye main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian/ bullseye main contrib non-free
deb http://mirrors.tuna.tsinghua.edu/debian/ bullseye-updates main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian/ bullseye-updates main contrib non-free
deb http://mirrors.tuna.tsinghua.edu/debian/ bullseye-backports main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian/ bullseye-backports main contrib non-free
deb http://mirrors.tuna.tsinghua.edu/debian-security bullseye-security main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian-security bullseye-security main contrib non-free
4. sudo apt update
5. sudo apt install xfce4
6. sudo apt install xfce4-session
7. sudo startxfce4
界面:
如果下载文件总是失败,可以先关掉Windows的防火墙
1. 在“启用或关闭Windows功能”中启用以下两个选项:Windows虚拟机平台、适用于Linux的Windows子系统。
2. 从Windows Store下载Debian安装
3. 进入Debian命令行,更新下载源 /etc/apt/soures.list
deb http://mirrors.tuna.tsinghua.edu/debian/ bullseye main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian/ bullseye main contrib non-free
deb http://mirrors.tuna.tsinghua.edu/debian/ bullseye-updates main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian/ bullseye-updates main contrib non-free
deb http://mirrors.tuna.tsinghua.edu/debian/ bullseye-backports main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian/ bullseye-backports main contrib non-free
deb http://mirrors.tuna.tsinghua.edu/debian-security bullseye-security main contrib non-free
deb-src http://mirrors.tuna.tsinghua.edu/debian-security bullseye-security main contrib non-free
4. sudo apt update
5. sudo apt install xfce4
6. sudo apt install xfce4-session
7. sudo startxfce4
界面:
如果下载文件总是失败,可以先关掉Windows的防火墙