打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Install Windows Subystem for Linux (WSL) on on Win...

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:

    PowerShell
    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 tnstall 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)

The

Windows 10 Fall Creators Update and later: Install from the Microsoft Store

This section is for Windows build 16215 or later. Follow these steps to check your build. For earlier versions of Windows 10, follow these instructions using lxrun.

  1. Open the Microsoft Store and choose your favorite Linux distribution.

    The following links will open the Windows store page for each distribution:

  2. From the distro's page, select 'Get'

Complete initialization of your distro

Now that your Linux distro is installed, you must initialize your new distro instance once, before it can be used.

Troubleshooting:

Below are related errors and suggested fixes. Refer to the WSL troubleshooting page for other common errors and their solutions.

  • Installation failed with error 0x80070003
    • The Windows Subsystem for Linux only runs on your system drive (usually this is your C: drive). Make sure that distros are stored on your system drive:
    • Open Settings -> Storage -> More Storage Settings: Change where new content is saved
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
微软爱开源:推完全Linux内核支持的Windows Subsystem for Linux
WSL:WSL(Windows Subsystem for Linux)的简介、安装、使用方法之详细攻略
Windows系统直接运行Linux,竟是如此简单
Windows 10 启动 Docker Desktop 时出现 WSL 2 installation is incomplete
VS Code Remote发布!真·远程开发
大家都在点赞 Windows Terminal,我决定给你泼一盆冷水
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服