Skip to content

WSL doc #146

@alexisdacquay

Description

@alexisdacquay
  1. The WSL "how to" (https://gilesknap.github.io/mciwb/main/user/how-to/wsl2.html)
    has a link on the right side "Edit on GitHub"
    ... which is a dead link (404 page not found)
    I think the correct link should not have "user"
    Should be: https://github.com/gilesknap/mciwb/blob/main/docs/how-to/wsl2.rst

  2. In the "how to" steps, the suggest Ubuntu 22.04 is not available as of today 2024-12-29.
    I will therefore follow this excellent tutorial using the default distribution, hopefully it will work. I thought it might help people to know this, not to be stuck.

Output from Windows11 Pro after completing the wsl install ('wsl --install')

**C:\WINDOWS\system32>wsl --set-version Ubuntu-22.04 2**

Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument]

Arguments:

    --install <Options>
        Install Windows Subsystem for Linux features. If no options are specified,
        the recommended features will be installed along with the default distribution.

        To view the default distribution as well as a list of other valid distributions,
        use 'wsl --list --online'.

        Options:
            --distribution, -d [Argument]
                Specifies the distribution to be downloaded and installed by name.

                Arguments:
                    A valid distribution name (not case sensitive).

                Examples:
                    wsl --install -d Ubuntu
                    wsl --install --distribution Debian

    --list, -l [Options]
        Lists distributions.

        Options:
            --online, -o
                Displays a list of available distributions for install with 'wsl --install'.

    --status
        Show the status of Windows Subsystem for Linux.

    --help
        Display usage information.


**C:\WINDOWS\system32>wsl --list -o**
The following is a list of valid distributions that can be installed.
The default distribution is denoted by '*'.
Install using 'wsl --install -d <Distro>'.

  NAME            FRIENDLY NAME
* Ubuntu          Ubuntu
  Debian          Debian GNU/Linux
  kali-linux      Kali Linux Rolling
  openSUSE-42     openSUSE Leap 42
  SLES-12         SUSE Linux Enterprise Server v12
  Ubuntu-16.04    Ubuntu 16.04 LTS
  Ubuntu-18.04    Ubuntu 18.04 LTS
  Ubuntu-20.04    Ubuntu 20.04 LTS

C:\WINDOWS\system32>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions