一、安装 Ubuntu20.041、搜索“启用或关闭 Windows 功能”勾选以下内容: 重启后生效2、打开 PowerShell 或 Windows 命令提示符以管理员身份运行3、安装 WSLwsl --install #将默认版本设置为WSL 2 wsl --set-defau…
Windows 11安装WSL 2子系统 打开“控制面板 - 程序 - 启用或关闭 Windows功能” 分别找到下面2个功能,并勾并确定。 适用于Linux的Windows子系统 虚拟机平台 点击确定后等待安装完毕并重启操作系统。 继续打开Windows应用商店,搜索简称“WSL”找到“Windows Subsystem for Linux”进行安装。 继续在Windows应用商店搜索并...
我希望运行docker desktop 但我的wsl2在运行wsl --update命令行时显示找不到元素我的是windows11系统,wsl2版本为Kernel version: 5.10.16 我已经尝试了wsl --update --web-download仍然显示找不到元素我也尝试了卸载wsl再安装,也没有作用我在微软商店下载,也遇到了错
如果出现 0x800701bc 错误,需下载Linux内核更新包进行安装。参考https://learn.microsoft.com/zh-cn/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package 五、迁移到D盘 因为我的电脑C盘空间不大,后续安装其他软件空间不足。需迁移到D盘。 以管理员身份运行PowerShell,依次执行以下命令。
windows11下的界面如下: image.png 没有打开前是这样的: PS C:\Users\DELL>wsl.exe--status 默认分发:docker-desktop-data默认版本:2适用于 Linux 的 Windows 子系统最后更新于2022/3/15适用于 Linux 的 Windows 子系统内核可以使用“wsl--update”手动更新,但由于你的系统设置,无法进行自动更新。
Updating the WSL kernel via a download from Microsoft (Image credit: Petri/Michael Reinders) Next, this should already be done, but we will make sure the default version of WSL used in future distros will be the newer ‘WSL2’. Use the command below to ensure that all future Linux distro...
By downloading and installing the latest WSL 2 kernel from Microsoft’s WSL Kernel Update. https://learn.microsoft.com/en-us/windows/wsl/install-manual Step 4: Download the Linux kernel update package. It says,"This update is applicable to machines with the Windows subsystem for Linux." ...
在https://docs.microsoft.com/zh-cn/windows/wsl/wsl2-kernel 页面点击下载 linux 内核更新包。 3.4. 升级到 wsl2 接下来就很简单了,首先在 cmd 或 PowerShell 中执行下面命令列出现有的 wsl: wsl -l 然后,根据上面命令返回的 wsl 名称,在管理员权限下的 cmd 或 PowerShell 中执行: ...
Windows版本:Windows11 22H2 22621.963 本篇教程后面涉及到WSL2上的GPU加速,经网上帖子的建议,用最新的win11系统可以保证最大的成功率。如果是win10系统,需将win10升级为预览体验版本,建议谨慎折腾! 没特殊需求的,都建议将系统升级为win11再进行尝试。 WSL 1和WSL 2功能对比 ...
This WSL2 Windows 10 & 11 tutorial demonstrates how to install, manage, and use a full Linux environment on your Windows 10 or Windows 11 PC with WSL2. You’ll run a Linux kernel using the Windows subsystem for Linux and execute native applications while seamlessly sharing files and services...