text 在Windows 10上启用WSL 2

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 在Windows 10上启用WSL 2相关的知识,希望对你有一定的参考价值。

WSL 2 is now using virtualization technology (based on Hyper-V) and uses a lightweight utility VM on a real Linux kernel.

The Linux kernel in WSL 2 is built in house from the latest stable branch, based on the source available at kernel.org. This kernel has been specially tuned for WSL 2. It has been optimized for size and performance to give an amazing Linux experience on Windows and will be serviced through Windows updates, which means you will get the latest security fixes and kernel improvements without needing to manage it yourself.

To make use of the virtualization feature for WSL 2, you will need to enable the optional Windows feature. You can run the following PowerShell command to do this. You will need to start PowerShell as an Administrator. After you run this command, you might need a restart of your computer.

    Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

Resoruces:
https://www.thomasmaurer.ch/2019/06/install-wsl-2-on-windows-10/
https://docs.microsoft.com/en-us/windows/wsl/about

以上是关于text 在Windows 10上启用WSL 2的主要内容,如果未能解决你的问题,请参考以下文章

win10安装WSL

win10安装WSL

无法使用安装了启用 Hyper-V 和 WSL2 的 VirtualBox 启动 Windows 10 来宾 [关闭]

Windows下的Linux子系统安装,WSL 2下配置docker

超详细Windows10/Windows11 子系统(WSL2)安装Ubuntu20.04(带桌面环境)

D01 Win10-WSL-Ubuntu16 安装