输入wsl --version确认 WSL 版本1。 四、下载并安装 Debian 打开Microsoft Store1。 在Microsoft Store 中搜索并安装 Debian1。 安装完成后打开 Debian,第一次进入会要求设置用户名和密码1。 五、配置国内镜像源(以清华镜像源为例) 打开并登录 WSL - Debian1。 将原有/etc/apt/sources.list文件设置备份1: sud...
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib...
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main deb-src https://mirrors.aliyun.com/debian-security/bullseye-securitymain deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-fr...
下图是微软给出的比较。另外,在Windows 11中WSL 2能过访问GPU,这意味着可以使用一些Linux GUI程序,同时使得使用机器学习、人工智能和数据科学等应用场景更加方便快捷。 总之,多数情况下,使用WSL 2是一个更好的选择,除非一些情况。 你的项目文件必须存储在 Windows 文件系统中。 你的项目需要访问串行端口或 USB 设备...
to:在windows中的linux不能使用桌面gui,但能跑大部分的gui程序。 实际使用中我们可以下载多个linux系统的发行版,比如ubuntu,debian等,可以安装的发行版已截图如下: 那么接下来我们先做好安装前的准备工作。 no.1准备工作 首先我们得先做好准备工...
To:在windows中的Linux不能使用桌面GUI,但能跑大部分的GUI程序。 实际使用中我们可以下载多个Linux系统的发行版,比如Ubuntu,Debian等,可以安装的发行版已截图如下: 那么接下来我们先做好安装前的准备工作。 NO.1准备工作 首先我们得先做好准备工作,WSL分为WSL1和WSL2,至于相关的区别在官方文档也有相关的说明: ...
A GUI to quickly manage your WSL2 instances githubwindowsdockerguiwslfluttercollaborateturnkeyrootfswsl2 UpdatedDec 25, 2024 Dart nullpo-head/wsl-distrod Sponsor Star1.9k Code Issues Pull requests Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with system...
注意:也可以使用 GUI 安装 WSL 1,但使用命令行安装的速度要快得多,而且由于 WSL 是 CLI 工具,这也比较讲得通! 第1 步,启用 WSL 不管您想要使用哪个版本的 WSL,都首先需要启用它。为此,请以管理员身份打开 PowerShell 工具并运行以下命令。小心不要在命令中输入错误或遗漏任何字符: ...
wsl2的状况(Debian) wsl1的状况(Kali)(我为kali装了oh my zsh) wsl1/wsl2性能比较 目前来看,wsl1的终端交互比较流畅(但还是比不上传统虚拟机和实体机的反应速度)(尤其是使用了zsh后,wsl2命令提示符的反应慢了不少) 不过wsl2的完整性体验比wsl1更加接近传统安装的linux系统 ...
Dockfile 在 GitHub 仓库这里https://github.com/james-curtis/code-os-debian 包含了 zsh ohmyzsh powerlevel10k 中文语言包,gui 下微软雅黑字体支持 nodejs、nvm openssh c++ wslg 透传到 Windows 母机支持 Python、conda、pdm temurin 8、11、17 jdk,jenv ...