Installing Windows subsystem for Linux
In the following --install
command, --no-distribution
is added to prevent the default installation of Ubuntu.
C:\> wsl --install --no-distribution
Downloading: Windows Subsystem for Linux 2.5.9
Installing: Windows Subsystem for Linux 2.5.9
Windows Subsystem for Linux 2.5.9 has been installed
…
The system now needs to be rebooted.
Adding a new distribution
C:\> wsl --list --online
The following is a list of valid distributions that can be installed.
Install using 'wsl.exe --install <Distro>'.
NAME FRIENDLY NAME
Ubuntu Ubuntu
Debian Debian GNU/Linux
…
OracleLinux_8_7 Oracle Linux 8.7
OracleLinux_9_1 Oracle Linux 9.1
…
openSUSE-Tumbleweed openSUSE Tumbleweed
C:\> wsl --install OracleLinux_9_1
Launching Oracle Linux 9.1...
Installing, this may take a few minutes...
Please create a default UNIX user account. …
…
Installation successful!
If distribution name is not specified, it defaults to Ubuntu.