Windows linux microsoft store

A preview of WSL in the Microsoft Store is now available!

The Windows Subsystem for Linux (WSL) preview is now available in the Microsoft Store as a store application for Windows 11 machines! Installing WSL through the store will allow you to get the latest WSL updates and features faster, and without needing to modify your Windows version. Read on to see how that’s possible and what this means for WSL!

Is this a new version of WSL?

This is the exact same WSL that you know and love, all that we’ve changed is where it gets installed and updated from. We’ve created this as an initial preview to help ensure quality before making this generally available.

Why would you want to install WSL from the Microsoft Store?

  • WSLg is now bundled as part of the WSL app!
  • New wsl.exe —mount features!
    • Add —mount —vhd to make mounting VHD files easier.
    • Implement filesystem detection for wsl —mount . This change implements filesystem type detection if no —type is specified when using wsl.exe —mount .
    • Add —name feature to wsl —mount . This change adds support for optionally naming a mountpoint when mounting a disk through WSL.

    You can find our up to date changelog of improvements here on the WSL docs.

    How to install and use WSL in the Microsoft Store

    First make sure you have these pre-requisites:

    • Are using a Windows 11 build or higher (Windows build number 22000 or higher)
    • Have the Virtual Machine Platform optional component enabled
      • You can do this by running: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all in an elevated PowerShell prompt

      Click on this link to go the WSL store page and click Install to install WSL, and then you can install a Linux distro of your choice to start using it.

      Frequently Asked Questions (FAQ)

      Can I install WSL from the Microsoft Store if I already have WSL installed?

      Yes! If you already have the in-Windows version of WSL installed, then you can install the WSL preview from the Store as well. These are both able to be installed on your machine simultaneously, and you will still have access to all of your exact same WSL distros. The WSL store version will always take precedence, so when it’s installed on your machine then that’s the version of WSL that you’ll be interacting with.

      Can I use WSL 1 distros with the Store version?

      Yes you’ll be able to use WSL 1 distros with this as well, but you’ll need to make sure that the “Windows Subsystem for Linux” optional component is enabled. This is because the actual driver that powers WSL 1 distributions is staying inside of that Windows optional component, as it is tightly coupled to the Windows version. Our future goals on the team are to improve WSL 2 distros to be the best WSL experience by addressing some of the areas where users prefer WSL 1 distros, and having the Microsoft Store version of WSL installed will allow you to see those improvements to WSL 2 distros earliest.

      What are the future plans for WSL in the Windows image?

      Our goals are to make WSL in the Microsoft Store the best way to install and use WSL, as you’ll be able to get the latest updates fastest through that route, and in the long term we’d like to move WSL users to use the store version. However, in Windows 11 we are still supporting the inbox version of WSL as we keep developing WSL in the store. This means that if you’re using the inbox version you are still supported, and the WSL optional component is still present inside of Windows 11. We are going to be data driven, and will be using your feedback from this preview to help inform us for our future decisions with WSL in the Windows image in upcoming releases.

      How do I uninstall WSL from the Microsoft Store and go back to the in Windows version?

      If you have WSL from the Microsoft Store installed, and would like to return back to the in Windows version you can follow these steps:

      • Search for “Windows Subsystem for Linux” in the start menu, right click on the application and click “Uninstall” to uninstall the store version
      • Ensure the “Windows Subsystem for Linux” optional component is turned on, see this step of the install docs for details

      After completing these steps you’ll be back to using the in-Windows version of WSL

      Are there any known issues with this first version?

      Here is the initial list of known issues that exist in this first release of WSL from the Microsoft Store:

      • Unable to start wsl.exe from a Session 0 prompt which users can run into when trying to start WSL from an ssh session
      • The “Linux” option in File Explorer is not shown

      What else is new for WSL in Windows 11?

      Last but not least, with the release of Windows 11 we’d like to highlight some new WSL features that are now generally available:

      Send us your feedback!

      For any technical issues please file them on the Microsoft/WSL Github repo. We’d love to hear what you think about this change! You can follow up with WSL team members, or with me on Twitter. Lastly, learn more about WSL, including how to set up common development tools like Git, VS Code, Docker containers, databases, GPU acceleration for machine learning, and more, by visiting the WSL documentation. Thank you WSL fans!

      Источник

      The Windows Subsystem for Linux in the Microsoft Store is now generally available on Windows 10 and 11

      Today the Windows Subsystem for Linux (WSL) in the Microsoft Store is dropping its “Preview” label and becomes generally available with our latest release! We are also making the Store version of WSL the default for new users who run wsl —install and easily upgradeable by running wsl —update for existing users. Using the Store version of WSL allows you to get updates to WSL much faster compared to when it was a Windows component. In response to the WSL community’s requests, WSL in the Store will now also be available on Windows 10 in addition to Windows 11. So, Windows 10 users will also be able to enjoy all of the latest features for WSL including systemd and Linux GUI app support!

      What’s new in the Store version of WSL?

      • You can opt in for systemd support
      • Windows 10 users can now use Linux GUI apps! This was previously only available to Windows 11 users
      • wsl —install now includes:
        • Direct installation from the Microsoft Store by default
        • —no-launch option to not launch the distro after installing
        • —web-download option which will download the distro through our GitHub releases page rather than through the Microsoft Store
        • —vhd option to make mounting VHD files easier
        • —name option to make naming the mountpoint easier
        • —vhd option to import or export to a VHD directly
        • Opening the Microsoft Store page by default
        • —web-download option to allow updates from our GitHub release page

        The Store version of WSL is now the default version of WSL

        As part of this release, we are also backporting WSL functionality to Windows 10 and 11 to make the Store version of WSL the default experience. These changes are:

        • wsl.exe —install will now automatically install the Store version of WSL, and will no longer enable the “Windows Subsystem for Linux” optional component, or install the WSL kernel or WSLg MSI packages as they are no longer needed (The Virtual machine platform optional component will still be enabled, and by default Ubuntu will still be installed).
        • wsl.exe –install` also now includes:
          • —inbox Installs WSL using the optional Windows component instead of using the Microsoft Store
          • —enable-wsl1 Enables WSL 1 support during the install of the Microsoft Store version by also enabling the “Windows Subsystem for Linux” optional component
          • —no-distribution Do not install a distribution when installing WSL
          • —no-launch Do not automatically launch the distro after install
          • —web-download Download the most recent version of WSL from the internet instead of the Microsoft Store.

          How to get the latest generally available version

          The easiest way to get all these improvements is to get the latest backport. Currently it is available to seekers only, and will be pushed automatically to devices in mid-December. To get this update please go to Windows Settings and click “Check for Updates”. If you see a message saying a new update is available please install it. You will need to be running Windows 10 version 21H1, 21H2, or 22H2, or on Windows 11 21H2 with all of the November updates applied. You will know you have this update when you check that KB5020030 is installed on Windows 10, or KB5019157 on Windows 11.

          Once you have the right Windows version, if you’re a new user you can just run wsl —install and you will be set up right away to use WSL. If you’re an existing user run wsl —update to update to the latest Store version. You can always check if you’re on the Store version by running wsl —version which will show you the version number, and will fail if you’re using the in-Windows version of WSL.

          Alternatively you can also visit our releases page on GitHub to see the latest WSL builds and install them manually.

          Known issues

          These are the current known issues for users that are in the Store version of WSL, but not in the inbox version:

          • When running in session 0 session (Such as inside of a GitHub action, or when SSHing into the Windows machine) the Store version of WSL will not start

          What this means for WSL 1 and the in-Windows version of WSL

          Support for running WSL 1 distros still requires the “Windows Subsystem for Linux” optional component. This can be enabled during install by running wsl —install —enable-wsl1 , or manually at anytime. Additionally, the in-Windows version of WSL will still receive critical bug fixes, but the Store version of WSL is where new features and functionality will be added.

          Understanding WSL names

          Now with the Store version of WSL, there are a lot of names to keep track of! Here’s the clear explanation on them. There are two types of WSL distros: “WSL 1”, and “WSL 2” type distros. These matter for how your distro runs and behaves, as they have different architectures. WSL 2 distros have faster file system performance and use a real Linux kernel, but require virtualization. You can learn more about WSL 1 and WSL 2 distros here. There is also the “in-Windows” version of WSL as a Windows Optional component, and WSL in the Microsoft Store as the “Store version of WSL”. These matter for how WSL is serviced on your machine, and what latest updates and features you’ll get. This is just a change on how WSL is serviced, the user experience and product is the same. Learn more here.

          With this update our goal is to simplify our versioning story. Since WSL 2 is the default distro type, and the Store version of WSL is the default install location, you can just say: WSL is an app in the Microsoft Store that lets you run actual Linux that integrates directly into Windows.

          Feedback

          If you find technical issues please file them at the WSL GitHub repo, and for general questions the WSL team and I are on Twitter. Check out our WSL docs for tutorials, best practices and more info on how to use WSL. Our goal is to move as many people as we can to use the Store version of WSL, as it gives the best experience with the latest features. We look forwards to hearing your feedback, and thank you for supporting us. Happy coding!

          Источник

          Читайте также:  Ettercap kali linux установка
Оцените статью
Adblock
detector