Linux subsystem in Windows OS: Difference between revisions

From LinuxizeNet
(Created page with "How to enable linux in a Windows OS #Open Windows Powers hell as an Administraotr <syntaxhighlight lang="Bash"> wsl -l -o </<syntaxhighlight>")
 
(Remove inert legacy #ae8c55 wrapper (superseded by site CSS))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
How to enable linux in a Windows OS
{{clear}}
==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.
[[File:WinLogo.jpg|200px|right|thumb]]
==Open Windows Powers hell as an Administrator==
<syntaxhighlight lang="powershell" >
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>'.


#Open Windows Powers hell as an Administraotr
NAME                                  FRIENDLY NAME
<syntaxhighlight lang="Bash">
Ubuntu                                Ubuntu
wsl -l -o
Debian                                Debian GNU/Linux
</<syntaxhighlight>
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
</syntaxhighlight>
==Choose your [[Linux]] Distribution and install==
<syntaxhighlight lang="powershell" >
wsl --install -d Ubuntu
</syntaxhighlight>
==Reboot [[Windows]]==
Reboot your [[Windows]] system.
[[Category:Howto]]
[[Category: Linux]]
[[Category: Windows]]

Latest revision as of 21:02, 9 August 2026

How to enable Linux in a Windows OS[edit]

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[edit]

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[edit]

wsl --install -d Ubuntu

Reboot Windows[edit]

Reboot your Windows system.