在 Windows 上安装 Linux

563 阅读1分钟

参考

安装 WSL | Microsoft Learn

Windows 11 安装 WSL_win11安装wsl-CSDN博客

实现

  1. 管理员模式下打开 PowerShell 或 Windows 命令提示符

image.png

  1. 输入 wsl --install 命令,然后重启计算机

image.png

  1. 更新 packages

sudo apt update && sudo apt upgrade

image.png

image.png

踩坑

WSL: Processing fstab with mount -a failed. - 掘金 (juejin.cn)