Linux subsystem in Windows OS: Difference between revisions
From LinuxizeNet
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
PS C:\Windows\system32> wsl -l -o | PS C:\Windows\system32> wsl -l -o | ||
The following is a list of valid distributions that can be installed. | The following is a list of valid distributions that can be installed. | ||
Install using 'wsl.exe --install <Distro>'. | Install using 'wsl.exe --install -d <Distro>'. | ||
NAME FRIENDLY NAME | NAME FRIENDLY NAME | ||
Revision as of 00:36, 8 February 2024
How to enable Linux in a Windows OS
You can run a Linux distribution in your Windows system installing Windows Subsystem for Linux. It is very useful for development purposes and some testing.

Open Windows Powers hell as an Administrator
wsl -l -o
PS C:\Windows\system32> wsl -l -o
The following is a list of valid distributions that can be installed.
Install using 'wsl.exe --install -d <Distro>'.
NAME FRIENDLY NAME
Ubuntu Ubuntu
Debian Debian GNU/Linux
kali-linux Kali Linux Rolling
Ubuntu-18.04 Ubuntu 18.04 LTS
Ubuntu-20.04 Ubuntu 20.04 LTS
Ubuntu-22.04 Ubuntu 22.04 LTS
OracleLinux_7_9 Oracle Linux 7.9
OracleLinux_8_7 Oracle Linux 8.7
OracleLinux_9_1 Oracle Linux 9.1
openSUSE-Leap-15.5 openSUSE Leap 15.5
SUSE-Linux-Enterprise-Server-15-SP4 SUSE Linux Enterprise Server 15 SP4
SUSE-Linux-Enterprise-15-SP5 SUSE Linux Enterprise 15 SP5
openSUSE-Tumbleweed openSUSE Tumbleweed
Choose your Linux Distribution and install
wsl --install -d Ubuntu
Reboot Windows
Reboot your Windows system.