How to install WSL (Windows Subsystem for Linux) on Win10

The gods are silent-personal CSDN blog post directory

The method described in this article is not the only installation option, but it works on my system.

1. Video version

Bilibili Version: Installing Linux on Windows (WSL, Windows Subsystem for Linux)_哔哩哔哩_bilibili

2. Text version and code

  1. Use powershell to install Windows subsystem support:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  2. Install available Linux distributions (must be wsl --list --onlinein the list)
    Insert image description here
  3. Turn on virtual machine support: Control Panel-Programs-Turn Windows features on or off-Virtual Machine Platform
  4. wslEnter the environment in powershell

3. Other Internet references used in writing this article

  1. Install WSL | Microsoft Learn
  2. Manual installation steps for legacy WSL | Microsoft Learn
  3. Multiple ways to open Windows command line and PowerShell window
  4. [WSL]wsl.exe : The item 'wsl.exe' is not recognized as the name of a cmdlet, function, script file, or executable program
  5. Enabling and disabling windows functions-Baidu experience
  6. Win10 installs the ubuntu system, and reports WslRegisterDistribution failed with error: 0x8007019e - bfhxt - 博客园
  7. Win10 built-in ubuntu, "The specified network name is no longer available" solution_idjl's blog-CSDN blog

Guess you like

Origin blog.csdn.net/PolarisRisingWar/article/details/132655100