简介

软件丰富适合日常使用的 Windows 与开源适合开发的 Linux 结合使开发更加简便,不用再考虑双系统虚拟机这种效率不高的方式了。




步骤

1. 开启开发人员模式

  • 打开 Windows 设置
    Windows10开启Linux子系统
  • 更新和安全
    Windows10开启Linux子系统
  • 开发者选项 → 勾选【开发人员模式】
    Windows10开启Linux子系统

2. 开启 Linux 子系统

  • 打开控制面板
    Windows10开启Linux子系统
  • 启用或关闭 Windows 功能
    Windows10开启Linux子系统
  • 勾选【适用于 Linux 的 Windows 子系统】
    Windows10开启Linux子系统
  • 重启计算机后打开命令行CMD → 启动 bash
    Windows10开启Linux子系统
  • 访问 https://aka.ms/wslstore → 启动应用(等价于打开Microsoft Store)
    Windows10开启Linux子系统
  • Linux 发行版选择 Ubuntu,下载和安装需要较长时间
    Windows10开启Linux子系统




初试

Windows10开启Linux子系统




参考文献

  1. 如何开启windows10下的linux系统|win10下linux系统的开启方法
  2. Win 10 启用Linux子系统

相关文章: