Author: Junner
Date: 2024/09/24
Reboot your computer to apply the changes.
Set the wsl version. [1]
You can choose wsl1
or wsl2
for your destiny version.
Windows Subsystem for Linux (WSL) has two different versions, “WSL 1” and “WSL 2”. WSL 2 is the preferred and default option when installing WSL. This is because WSL 2 uses the actual Linux kernel inside a Hyper-V virtual machine (managed by WSL). WSL 1 uses a “translation layer” which is similar to WINE.
Run:
For example, to set it to wsl2
, you would enter
On some computer, wsl2
doesn't run well. And you may set the version to 1.
Windows sets Ubuntu as the default distro. To list other distro, run the command below and look for the name containing kali
. [2]
Installation [2]