要求
- 操作系统: Windows 10 版本 17763.0及以上
- 体系结构: x64
步骤说明
-
打开
在Windows10中安装Linux.pngMicrosoft Store
,搜索centos
-
点击获取
-
安装后,打开
cmd
,并输入:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
在Windows10中安装Linux.png
- 重启系统后在
cmd
中输入wsl
,启动CentOs
系统:
在Windows10中安装Linux.png
注意:
- 可以使用
wsl -l
查看已安装的适用于 Linux 的 Windows 子系统- 可以使用
wsl -d xxx
启动指定的子系统xxx
在Windows10中安装Linux.png
网友评论