Open spmhickstein opened 1 year ago
You can use WSL feature Version 2 and install Debian or Ubuntu then Update and Upgrade your all packages .
Open [PowerShell] as an administrator. Run the following command:
wsl --install
This command will install the latest WSL to install [Debian]
wsl --set-version Debian `2`
I guess some issues on win 11 so follow this if above not works :
Open powershell as an administrator. Run the following command to enable the required features:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
After running these commands, restart your computer.
Once your computer restarts, open Powershell as an administrator again.
Run the following command to set [WSL 2] as the default version:
wsl --set-default-version 2
Finally, try installing the Linux distribution again by running the following command:
wsl --install
I hope it helps ❤️
I can't run the examples in Windows machine, currently blocked in this attempts to redirect.
We should see information about requirements in the documentation.