Difference between revisions of "Windows Subsystem for Linux (WLS)"
Jump to navigation
Jump to search
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[wikipedia:Windows Subsystem for Linux]] (2016) | [[wikipedia:Windows Subsystem for Linux]] (2016) | ||
+ | |||
+ | * <code>[[wsl --install -d Ubuntu]]</code> | ||
* <code>[[dism.exe]] /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</code></code> | * <code>[[dism.exe]] /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</code></code> | ||
+ | |||
+ | |||
+ | <code>[[wsl --status]]</code> | ||
+ | (no output) | ||
<pre> | <pre> | ||
Line 24: | Line 30: | ||
https://aka.ms/wslstore | https://aka.ms/wslstore | ||
− | + | * <code>[[wsl --list --verbose]]</code> | |
+ | * <code>[[wsl --list]] --all --verbose</code> | ||
+ | |||
+ | *<code>[[Win+R]] ubuntu (command from [[cmd]])</code> | ||
+ | |||
+ | == Limitations == | ||
+ | * No [[KVM]] support | ||
+ | * No [[snap]] support | ||
+ | * No [[docker]] support | ||
+ | * No [[systemd]] support: <code>[[System has not been booted with systemd as init system (PID 1). Can't operate.]]</code> | ||
== Related terms == | == Related terms == | ||
Line 31: | Line 46: | ||
* [[snap]] not supported, see <code>[[snap install]]</code> | * [[snap]] not supported, see <code>[[snap install]]</code> | ||
* [[Windows Terminal]] | * [[Windows Terminal]] | ||
+ | * Enable nested virtualization: <code>[[Set-VMProcessor]] -VMName YOUR_VM_NAME -ExposeVirtualizationExtensions $true</code> | ||
+ | * [[File explorer]]: <code>\\[[wsl]]$\Ubuntu</code> | ||
+ | * <code>[[wsl (linux command)]]</code> | ||
+ | * [[Enable-WindowsOptionalFeature –FeatureName Microsoft-Hyper-V -All]] | ||
== See also == | == See also == | ||
+ | * {{WSL}} | ||
* {{Windows}} | * {{Windows}} | ||
[[Category:Windows]] | [[Category:Windows]] |
Latest revision as of 10:09, 29 August 2023
wikipedia:Windows Subsystem for Linux (2016)
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
wsl --status
(no output)
Deployment Image Servicing and Management tool Version: 10.0.19041.572 Image Version: 10.0.19042.610 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully.
wsl Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Microsoft Store: https://aka.ms/wslstore
wsl -l Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Microsoft Store: https://aka.ms/wslstore
wsl --list --verbose
wsl --list --all --verbose
Limitations[edit]
- No KVM support
- No snap support
- No docker support
- No systemd support:
System has not been booted with systemd as init system (PID 1). Can't operate.
Related terms[edit]
- Bash
- PowerShell
- snap not supported, see
snap install
- Windows Terminal
- Enable nested virtualization:
Set-VMProcessor -VMName YOUR_VM_NAME -ExposeVirtualizationExtensions $true
- File explorer:
\\wsl$\Ubuntu
wsl (linux command)
- Enable-WindowsOptionalFeature –FeatureName Microsoft-Hyper-V -All
See also[edit]
- WSL, PID 1, WSL2
- Microsoft Windows: Windows 10, Windows 11, Windows Server, Windows IoT, Windows Server containers, RDP, Windows Update, Windows Defender, Windows Unified Write Filter (UWF), ReFS,
Start-Service, Stop-Service, Set-Service
, DISM, SFC, systeminfo, Microsoft Hyper-V, WSL, Windows Terminal, Windows Subsystem for Linux (WLS), Windows Server 2022, PowerShell,logoff
,query user
, WLMS, File explorer, Copy-Item, BitLocker, Cmdlet,choco, scoop
, Windows VSS
Advertising: