Difference between revisions of "Windows Subsystem for Linux (WLS)"
Jump to navigation
Jump to search
(14 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* <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 26: | 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 == | == Limitations == | ||
* No [[KVM]] support | * No [[KVM]] support | ||
− | * No snap 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 40: | Line 47: | ||
* [[Windows Terminal]] | * [[Windows Terminal]] | ||
* Enable nested virtualization: <code>[[Set-VMProcessor]] -VMName YOUR_VM_NAME -ExposeVirtualizationExtensions $true</code> | * 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: