Difference between revisions of "Windows Subsystem for Linux (WLS)"

From wikieduonline
Jump to navigation Jump to search
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[wikipedia:Windows Subsystem for Linux]] (2016)
 
[[wikipedia:Windows Subsystem for Linux]] (2016)
  
[[dism.exe]] /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
+
* <code>[[wsl --install -d Ubuntu]]</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 18: Line 24:
 
  Distributions can be installed by visiting the Microsoft Store:
 
  Distributions can be installed by visiting the Microsoft Store:
 
  https://aka.ms/wslstore
 
  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
 +
 +
* <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 ==
 
* [[Bash]]
 
* [[Bash]]
 +
* [[PowerShell]]
 +
* [[snap]] not supported, see <code>[[snap install]]</code>
 +
* [[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

Limitations[edit]

Related terms[edit]

See also[edit]

Advertising: