在PowerShell或命令提示符中,输入以下命令来安装Debian: bash wsl --install -d Debian 这个命令会自动下载并安装最新的Debian分发版。步骤五:验证安装结果 安装完成后,你可以使用以下命令来验证Debian是否已成功安装并正在运行:bash wsl -l -v 该命令将列出所有已安装的WSL分发版及其版本信息。你应该能看到Debi...
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contribdeb-srchttps://mirrors.aliyun.com/debian/ bullseye-b...
deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/bullseye-updates main contrib non-free deb http://mirrors.tuna.tsinghua.edu.cn/debian/bullseye-backports main contrib non-free deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/bullseye-backports main contrib non-free deb http://mirrors.tuna...
在sourceforge 上下载 vcxsrv windows xserver1。 安装vcxsrv 并运行 xlaunch1。 在xlaunch 的 Select Display Settings 中,将 Display Number 改为 01。 在xlaunch 的 Extra Settings 中,勾选 Disable Access Control 选项1。 完成以上步骤,就完成了在 Windows 中配置 WSL2 与 Debian,并进行了一些基本的优化配置。
下载并安装 Debian 在Microsoft Store 中安装 Debian。 打开Microsoft Store 安装Debian 安装完成后打开 Debian 第一次进入 Debian 会要求设置用户名和密码。 退出Debian 确认Debian 使用 WSL 2 安装完成后的 Debian 可能使用的是 WSL 1 而不是 WSL 2。
1替换安装源 帮助 http://mirrors.ustc.edu.cn/help/ 使用配置生成器 https://mirrors.ustc.edu.cn/repogen/ 2 设置默认编辑器 sudo update-alternatives --config editor 3 修改用户不输入密码 sudo viduso wolbo ALL=(ALL) NOPASSWD:ALL 4 安装开发工具 ...
安装wsl2 # cmd环境下查看wsl版本 wsl -i -v 安装Linux发行版 链接:https://pan.baidu.com/s/1VMcwgZ-yYhgY8dyfiDun_A?pwd=1234 提取码:1234 将下载后的文件后缀.appx改为.zip,然后解压直接执行debian.exe输入用户名guonan,密码guonan安装成功!!!
wsl--install-dDebian Q: 为什么需要先安装 Debian?不是 Arch Linux吗? A: 需要先制作适用于WSL的rootfs文件,因此,需要先安装一个已有的发行版 期间可能会弹出UAC授权窗口(取决于你的UAC配置),放行即可 重启电脑以生效 shutdown-r-f-t0 *图 1-2 重启后界面 ...
先安装 ST4 cd /tmp wget https://download.sublimetext.com/sublime-text_build-4126_amd64.deb sudo dpkg -i sublime-text_build-4126_amd64.deb subl 此时,ST4 就启动了。 image-20220323102647328 我并没有在 Debian 里安装桌面环境,但 WSL2 看着是将 GUI 程序包裹在一个 Gnome 壳里,whatever,能用就...