WIN11 installs WSL and uses Linux system

Enable the "Windows Subsystem for Linux" feature

Search for "Turn Windows features on or off"
insert image description here
insert image description here
and restart your computer

Download the WSL update package

https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
Just download and install

Set default WSL version

You can use the following command to set the default version to WSL2 through PowerShell or cmd

  wsl --set-default-version 2

insert image description here

Install a Linux distribution

insert image description here
insert image description here

Set username and password

open ubuntu
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/weixin_45184581/article/details/128760087