码迷,mamicode.com
首页 > Windows程序 > 详细

Windows Subsystem for Linux

时间:2019-05-26 09:17:07      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:mini   art   enabled   搜索   must   inf   guide   ice   power   

https://docs.microsoft.com/en-us/windows/wsl/about

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Windows Subsystem for Linux Installation Guide for Windows 10

Install the Windows Subsystem for Linux

Before installing any Linux distros for WSL, you must ensure that the "Windows Subsystem for Linux" optional feature is enabled:

  1. Open PowerShell as Administrator and run:

    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    
  2. Restart your computer when prompted.

Install your Linux Distribution of Choice

To download and install your preferred distro(s), you have three choices:

  1. Download and install from the Windows Store (see below)
  2. Download and install from the Command-Line/Script (read the manual installation instructions)
  3. Download and manually unpack and install (for Windows Server - instructions here)

 在windows store里面搜索wsl,然后找到Ubuntu版本

安装完启动,需要创建Ubuntu的账号https://docs.microsoft.com/en-us/windows/wsl/user-support技术图片

创建用户成功后,提示

Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

 

Windows Subsystem for Linux

标签:mini   art   enabled   搜索   must   inf   guide   ice   power   

原文地址:https://www.cnblogs.com/chucklu/p/10925036.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!