i have windown 10 enterprise,and i figured it out that this version dont have windows store how can i install linux subsystem (WSL) with ubuntu ?
found a solution with powershell !
References
https://learn.microsoft.com/en-us/windows/wsl/install-manual
https://learn.microsoft.com/he-il/windows/wsl/install-on-server?redirectedfrom=MSDN
Powershell as Administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
cd c:\
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing
Rename-Item ./Ubuntu.appx ./Ubuntu.zip
Expand-Archive ./Ubuntu.zip ./Ubuntu
cd ./Ubuntu
.\ubuntu1604.exe
$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Ubuntu", "User")
I know this is an old post. But I found another way.
You can just run this on PowerShell or Command Prompt as Administrator:
wsl --install
If you want to see another distros:
wsl --list --online
And for install it, you can run (e.g. install Debian on WSL):
wsl --install -d Debian
For more information you can read this post.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With