Windows 10: WSL and Linux apps

Discus and support WSL and Linux apps in Windows 10 Software and Apps to solve the problem; Hey there Linux enthusiasts! I wonder what you think about this Windows Subsystem for Linux and which apps you installed. I installed openSUSE from... Discussion in 'Windows 10 Software and Apps' started by decimus, Oct 13, 2019.

  1. decimus Win User

    WSL and Linux apps


    Hey there Linux enthusiasts! I wonder what you think about this Windows Subsystem for Linux and which apps you installed. I installed openSUSE from Microsoft store (sounds weird right? *Biggrin) just to check the feature out. So far I can only play around with Linux commands in the "terminal". Any other uses of these? Maybe apps that are exclusive to Linux?

    :)
     
    decimus, Oct 13, 2019
    #1

  2. Unregister and Reset a Windows Subsystem for Linux (WSL) Distro in Settings

    How to Unregister and Reset Windows Subsystem for Linux (WSL) Distro in Windows 10


    The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

    When you have install WSL distro apps from the Microsoft Store.

    The first time a newly installed WSL distro installation to complete.

    Once installation is complete, you will be prompted to create a new user account (and its password).

    Creating your Linux user is the first step in setting up a new Linux distribution on WSL. The first user account you create is automatically configured with a few special attributes:
    1. It is your default user -- it signs-in automatically on launch.
    2. It is Linux administrator (a member of the sudo group) by default.
    Each Linux distribution running on the Windows Subsystem for Linux has its own Linux user accounts and passwords. You will have to configure a Linux user account any time you add a distribution, reinstall, or reset. Linux user accounts are not only independent per distribution, they are also independent from your Windows 10 user account.

    If needed, you can unregister a WSL distro to reset it back to default for your account. Once unregistered, all available WSL distros list.

    When you run the unregisted WSL distro app next, a clean copy of the distro will be installed allowing you to also setup the distro with a new UNIX username and password.

    Starting with Windows 10 build 18342 (19H1) and Windows 10 build 18836 (20H1), Microsoft added some new commands that will give you more functionality when using wsl.exe. The commands that existed inside of wslconfig.exe have been added to wsl.exe to allow you to configure your distros more easily.

    See also:
    This tutorial will show you how to unregister and reset a Windows Subsystem for Linux (WSL) distro to default settings for your account in Windows 10.

    *Warning If you unregister an imported WSL distro, it will be completely removed/uninstalled.


    CONTENTS:
    • Option One: Unregister and Reset a Windows Subsystem for Linux (WSL) Distro in Settings
    • Option Two: Unregister and Reset a Windows Subsystem for Linux (WSL) Distro in Command Prompt
    • Option Three: Unregister and Reset a Windows Subsystem for Linux (WSL) Distro in PowerShell





    WSL and Linux apps [​IMG]
    OPTION ONE
    WSL and Linux apps [​IMG]
    Unregister and Reset a Windows Subsystem for Linux (WSL) Distro in Settings
    1. For how to reset a WSL distro app in Settings, see: How to Reset an App in Windows 10

    WSL and Linux apps [​IMG]

    2. You can now run this WSL distro app to reinstall and setup the distro with a new UNIX username and password. (see screenshot below)


    WSL and Linux apps [​IMG]







    WSL and Linux apps [​IMG]
    OPTION TWO
    WSL and Linux apps [​IMG]
    Unregister and Reset a Windows Subsystem for Linux (WSL) Distro in Command Prompt
    1. Open a command prompt.

    2. Copy and paste the command below for your available WSL distro you want to unregister. (see screenshot below)
    (For Windows 10 version 1903 and later)
    *Arrow wsl --list --all or wsl -l --all

    OR

    (For versions earlier than Windows 10 version 1903)
    *Arrow wslconfig /list /all or wslconfig /l /all


    WSL and Linux apps [​IMG]

    3. Enter the command below for your version of Windows 10 into the command prompt, and press Enter. (see screenshot below)
    (For Windows 10 version 1903 and later)
    *Arrow wsl --unregister <DistributionName>

    OR

    (For versions earlier than Windows 10 version 1903)
    *Arrow wslconfig /unregister <DistributionName>

    *note Substitute <DistributionName> in the command above with the actual WSL distro name (ex: "Ubuntu") from step 2 you want to unregister.

    For example: wsl --unregister Ubuntu



    WSL and Linux apps [​IMG]

    4. When finished, you can close the command prompt if you like.

    5. You can now run this WSL distro app to reinstall and setup the distro with a new UNIX username and password. (see screenshot below)


    WSL and Linux apps [​IMG]







    WSL and Linux apps [​IMG]
    OPTION THREE
    WSL and Linux apps [​IMG]
    Unregister and Reset a Windows Subsystem for Linux (WSL) Distro in PowerShell
    1. Open PowerShell.

    2. Copy and paste the command below for your available WSL distro you want to unregister. (see screenshot below)
    (For Windows 10 version 1903 and later)
    *Arrow wsl --list --all or wsl -l --all

    OR

    (For versions earlier than Windows 10 version 1903)
    *Arrow wslconfig /list /all or wslconfig /l /all


    WSL and Linux apps [​IMG]

    3. Enter the command below for your version of Windows 10 into PowerShell, and press Enter. (see screenshot below)
    (For Windows 10 version 1903 and later)
    *Arrow wsl --unregister <DistributionName>

    OR

    (For versions earlier than Windows 10 version 1903)
    *Arrow wslconfig /unregister <DistributionName>

    *note Substitute <DistributionName> in the command above with the actual WSL distro name (ex: "Ubuntu") from step 2 you want to unregister.

    For example: wsl --unregister Ubuntu



    WSL and Linux apps [​IMG]

    4. When finished, you can close PowerShell if you like.

    5. You can now run this WSL distro app to reinstall and setup the distro with a new UNIX username and password. (see screenshot below)


    WSL and Linux apps [​IMG]


    That's it,
    Shawn


    Related Tutorials
     
    Shawn Brink, Oct 13, 2019
    #2
  3. Install Windows Subsystem for Linux (WSL) Distros in Windows 10  

    How to Install Windows Subsystem for Linux (WSL) Distros in Windows 10


    The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

    When you have export and import WSL distros.

    The first time a newly installed WSL distro runs, a Console window will open, and you'll be asked to wait for a minute or two for the installation to complete.

    Once installation is complete, you will be prompted to create a new user account (and its password).

    Creating your Linux user is the first step in setting up a new Linux distribution on WSL. The first user account you create is automatically configured with a few special attributes:
    1. It is your default user -- it signs-in automatically on launch.
    2. It is Linux administrator (a member of the sudo group) by default.
    Each Linux distribution running on the Windows Subsystem for Linux has its own Linux user accounts and passwords. You will have to configure a Linux user account any time you add a distribution, reinstall, or reset. Linux user accounts are not only independent per distribution, they are also independent from your Windows 10 user account.

    When you open a new distro instance, you won't be prompted for your password, but if you elevate a process using sudo, you will need to enter your password, so make sure you choose a password you can easily remember.

    See also:
    This tutorial will show you how to install and setup Windows Subsystem for Linux (WSL) distro apps from the Microsoft Store for your account in Windows 10.



    Here's How:

    1. Click/tap on the link below to open the Microsoft Store app directly to the Run Linux on Windows page.
    *Arrow Run Linux on Windows | Microsoft Store
    2. Click/tap on the WSL distro app (ex: "Ubuntu") you want to install. (see screenshot below)

    WSL and Linux apps [​IMG]

    3. Click/tap on Install. (see screenshot below)

    *note You may need to click/tap on Get before seeing Install.

    If you see Launch instead, then the app is already installed.


    WSL and Linux apps [​IMG]

    4. When the WSL distro app has finished installing, click/tap on Launch to run the app. (see screenshots below)

    *note You can also open this WSL distro app from All Apps in your Start menu.

    WSL and Linux apps [​IMG]


    WSL and Linux apps [​IMG]

    WSL and Linux apps [​IMG]

    5. When the console window of the WSL distro opens for the first time, you will need to: (see screenshot below)
    • Enter new UNIX username for this WSL distro.
    • Enter new UNIX password for this username.
    • Retype new UNIX password to confirm.

    WSL and Linux apps [​IMG]

    6. When finished, you can close the Microsoft Store app and the console window.


    That's it,
    Shawn


    Related Tutorials
     
    Shawn Brink, Oct 13, 2019
    #3
  4. Brink Win User

    WSL and Linux apps

    Using Windows Subsystem for Linux (WSL) in an Enterprise


    Source: Using WSL in an Enterprise Windows Command Line Tools For Developers
     
    Brink, Oct 13, 2019
    #4
Thema:

WSL and Linux apps

Loading...
  1. WSL and Linux apps - Similar Threads - WSL Linux apps

  2. linux x11 apps wedged after WSL update 2.0.9.0

    in Windows 10 Gaming
    linux x11 apps wedged after WSL update 2.0.9.0: Windows 11 Home 22H2 / OS build 22621.2715Environment working as of 15nov2023.Windows install history today 16nov2023 shows: - name: Windows Subsystem for Linux- installed on: 11/16/2023- size: 458 MB- version: 2.0.9.0There are several updates made on 13nov2023, that look...
  3. linux x11 apps wedged after WSL update 2.0.9.0

    in Windows 10 Software and Apps
    linux x11 apps wedged after WSL update 2.0.9.0: Windows 11 Home 22H2 / OS build 22621.2715Environment working as of 15nov2023.Windows install history today 16nov2023 shows: - name: Windows Subsystem for Linux- installed on: 11/16/2023- size: 458 MB- version: 2.0.9.0There are several updates made on 13nov2023, that look...
  4. WSL Windows Subsystem For Linux "wsl" command not found

    in Windows 10 Gaming
    WSL Windows Subsystem For Linux "wsl" command not found: Guys help, I've contacted ms support multiple times and none of the agents have been able to solve the issue.so, I have Windows Subsystem for Linux WSL with Ubuntu installed. yesterday, i tried to install docker, and it was kind of a mess, so i just uninstalled it in every...
  5. WSL Windows Subsystem For Linux "wsl" command not found

    in Windows 10 Software and Apps
    WSL Windows Subsystem For Linux "wsl" command not found: Guys help, I've contacted ms support multiple times and none of the agents have been able to solve the issue.so, I have Windows Subsystem for Linux WSL with Ubuntu installed. yesterday, i tried to install docker, and it was kind of a mess, so i just uninstalled it in every...
  6. WSL Windows Subsystem For Linux "wsl" command not found

    in Windows 10 BSOD Crashes and Debugging
    WSL Windows Subsystem For Linux "wsl" command not found: Guys help, I've contacted ms support multiple times and none of the agents have been able to solve the issue.so, I have Windows Subsystem for Linux WSL with Ubuntu installed. yesterday, i tried to install docker, and it was kind of a mess, so i just uninstalled it in every...
  7. relate to Windows Subsystem for Linux WSL

    in Windows 10 Software and Apps
    relate to Windows Subsystem for Linux WSL: I’m having trouble with the Windows Subsystem for Linux WSL on my Windows 10 computer. Whenever I try to open WSL, it automatically closes within a second. I’ve tried disabling and re-enabling the WSL feature, but the issue persists. Can anyone provide guidance on how to...
  8. WSL Linux for Windows 10

    in Windows 10 Virtualization
    WSL Linux for Windows 10: Hi, Just curious if anyone here has tried or uses the WSL Virtualization for Linux for Windows10? I am curious to see how Ubuntu 20.04 LTS will look in Windows10. I'm just curious... 181521
  9. Static IP for Linux Under WSL?

    in Windows 10 Network and Sharing
    Static IP for Linux Under WSL?: Is it possible to set a static ip for linux distrosManjaro in this case running under WSL? https://answers.microsoft.com/en-us/windows/forum/all/static-ip-for-linux-under-wsl/230b18c8-0725-49ff-9d61-3d36353275d0
  10. Introducing Linux GUI apps running on Windows using the Windows Subsystem for Linux (WSL)

    in Windows 10 Ask Insider
    Introducing Linux GUI apps running on Windows using the Windows Subsystem for Linux (WSL): [ATTACH] submitted by /u/no_quests [link] [comments] https://www.reddit.com/r/Windows10/comments/mvlwj9/introducing_linux_gui_apps_running_on_windows/