使用Windows Update 助手更新 Windows 版本。 若要检查 Windows 版本及内部版本号,选择 Windows 徽标键 + R,然后键入“winver”,选择“确定”。 更新到“设置”菜单中的最新 Windows 版本。 备注 如果运行的是 Windows 10 版本1903 或 1909,请在 Windows 菜单中打开“设置”,导航到“
https://aka.ms/wsl2kernel 这时需要下载wsl升级包并安装:https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi 双击安装后,再重新执行上述指令就 OK 了。 此外,还可以通过如下指令,查看电脑装了哪些Linux系统,并进行卸载: # 查看本机安装了哪些子系统: wsl --list --all # 卸载: ...
若要解决此问题,请访问https://aka.ms/wsl2kernel并按照该文档页上的说明手动安装内核。 command not found在 Linux 中执行 Windows .exe 时 用户可以直接从 Linux 运行 windows 可执行文件,例如 notepad.exe。 有时,您可能会遇到“找不到命令”的情况,如下所示: ...
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform 配置完成等待系统自动重启即可。 3.3. 下载 wsl2 需要使用的 linux 内核 在https://docs.microsoft.com/zh-cn/windows/wsl/wsl2-kernel 页面点击下载 linux 内核更新包。 3.4. 升级到 wsl2 接下来就很简单了,首先在 cmd 或 PowerShell ...
https://docs.microsoft.com/zh-cn/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package
官方地址:https://docs.microsoft.com/zh-cn/windows/wsl/wsl2-kernel 下载地址:https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi 安装完成后重启 4.将WSL 2设置为默认版本 在安装新的Linux发行版时,在Powershell中运行以下命令以将WSL 2设置为默认版本: ...
Install-WindowsFeature -Name Microsoft-Windows-Subsystem-Linux 之后,还需要重新启动计算机。必须在计算机的BIOS/UEFI设置中启用硬件虚拟化支持:Intel VT(Intel虚拟化 技术)或AMD-V。现在,你需要将WSL更新到版本2。为此,请转到站点https://docs.microsoft.com/ru-ru/windows/wsl/wsl2-kernel,下载wsl_update_x...
3. Download and install the Linux kernel update package After you computer restarts, click the link to download theLinux kernel update package. Next, open the file to install the package. Click Next to install Windows Subsystem for Linux Update on your computer. ...
There are two versions of WSL: WSL 1 and WSL 2. WSL defaults to version 2. That’s fine for most people. However, if you’re not sure your system can handle a full Linux kernel install, or you will not use things like Docker, then WSL 1 is fine. ...
要使用wsl --install简化安装命令,你需要加入Windows 预览体验计划并安装 Windows 10 的预览版(OS 版本 20262 或更高版本),但不需要执行手动安装步骤。 只需使用管理员权限打开命令窗口并运行wsl --install,重启后即可使用 WSL。 手动安装:按照下列 6 个步骤进行操作。