“Dystrybuto WSL” Kod odpowiedzi

Lista WSL DistroS

wsl -l -v
Quaint Quelea

okna WSL

1) Run PowerShell as administrator
2) Paste this command:
  Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
3) Restart your PC
4) Run PowerShell as administrator again
5) Paste these two commands:
  dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
6) Restart your PC Again
7) Download the Linux Kernel Update Package from
  https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
8) Then, run powershell as administrator again and paste this command:
  wsl --set-default-version 2
9) Install a distro of your choice from the Microsoft Store (Example Ubuntu, Kali Linux)

OR:

Run this command: wsl --install
NOTE: To Run this command given above, you must be running 
Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11.
Also, running this command installs Ubuntu by default.
Old Pizza

Instalacja WSL

wsl --install
Wild Wombat

WSL Start Distro

wsl -d <DistributionName>
CodeHunter

Dystrybuto WSL

You first must export the WSL distribution you wish to clone.

1. wsl.exe --export OriginalDistributionName FileName.tar

You must now import the distribution you just cloned with the following command:

2. wsl.exe --import ClonedDistributionName InstallLocation FileName.tar

You can start the cloned distribution by running the following command:

3. wsl --distribution ClonedDistributionName
calyCoder

Odpowiedzi podobne do “Dystrybuto WSL”

Pytania podobne do “Dystrybuto WSL”

Więcej pokrewnych odpowiedzi na “Dystrybuto WSL” w Shell/Bash

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu