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. Running scheduled jobs e.g hourly on Linux VM / WSL / Host Linux

    in Windows 10 Virtualization
    Running scheduled jobs e.g hourly on Linux VM / WSL / Host Linux: Hi folks for those who have NAS (Linux) type servers / Linux VM's or Host Linux systems it's dead easy to set up jobs that run say every hour or whatever - use for this would be scheduled backups etc etc. I've got a simple 1 line example here of running an email to myself...
  3. Windows Subsystem for Linux (WSL) and Visual Studio Code Remote

    in Windows 10 News
    Windows Subsystem for Linux (WSL) and Visual Studio Code Remote: [ATTACH] Using VS Code Remote and the Windows Subsystem for Linux (WSL) gives you a fully featured Linux development environment on a Windows laptop or desktop. Let’s look at how you can get started using these tools to develop a python application in Linux like a true...
  4. Alternatives to using Windows Store to install Linux distro on WSL

    in Windows 10 Software and Apps
    Alternatives to using Windows Store to install Linux distro on WSL: I just wanted to ask what alternatives there are to using the Windows 10 to install Linux distros on WSL. Also, it seems like Ubuntu 19 isn't available for the WSL. Is there a chance that we'll be able to install it when WSL2 is released? And I'd like to get the latest...
  5. New Windows Subsystem for Linux 2 (WSL 2) Linux kernel with Windows 10

    in Windows 10 News
    New Windows Subsystem for Linux 2 (WSL 2) Linux kernel with Windows 10: Today we’re unveiling the newest architecture for the Windows Subsystem for Linux: WSL 2! Changes in this new architecture will allow for: dramatic file system performance increases, and full system call compatibility, meaning you can run more Linux apps in WSL 2 such as...
  6. WSL - Enabling Windows Subsystem for Linux

    in Windows 10 Software and Apps
    WSL - Enabling Windows Subsystem for Linux: 11/11/2018 I have windows 10, version 1803, OS build 17134.37 In powershell as administrator, I run the command: enable-windowsoptionalfeature -online -featurename microsoft-windows-subsystem-linux and receive error: enable-windowsoptionalfeature : the referenced...
  7. Using Windows Subsystem for Linux (WSL) in an Enterprise

    in Windows 10 News
    Using Windows Subsystem for Linux (WSL) in an Enterprise: Recently, customers in an enterprise environment have asked if there is a way to install WSL without an internet connection. These companies had some machines that would benefit from having WSL, but don't have an internet connection for security, logistics, or other reasons....
  8. Access WSL Linux Files in Windows 10

    in Windows 10 Tutorials
    Access WSL Linux Files in Windows 10: How to: Access WSL Linux Files in Windows 10 How to Access Linux Files in a Windows Subsystem for Linux (WSL) Distro from 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...
  9. Unregister Windows Subsystem for Linux (WSL) Distro in Windows 10

    in Windows 10 Tutorials
    Unregister Windows Subsystem for Linux (WSL) Distro in Windows 10: How to: Unregister Windows Subsystem for Linux (WSL) Distro in Windows 10 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...
  10. Run Windows Subsystem for Linux (WSL) Distro in Windows 10

    in Windows 10 Tutorials
    Run Windows Subsystem for Linux (WSL) Distro in Windows 10: How to: Run Windows Subsystem for Linux (WSL) Distro in Windows 10 How to Run a 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...