Microsoft has launched a preview of Home windows Subsystem for Linux (WSL), which is now obtainable within the Microsoft Retailer as a retailer utility solely for Home windows 11 machines. This implies WSL is now decoupled out of your Home windows model, and you may replace it like another app to get the most recent WSL options and enhancements.
The corporate clarified that “that is the very same WSL that you recognize and love, all that we’ve modified is the place it will get put in and up to date from.” WSL for Home windows 11 might be made usually obtainable for everybody after a testing interval of this preliminary preview.
“Historically, WSL has been put in as an optionally available element within Home windows,” Microsoft writes in in the present day’s weblog submit. “Which means that you’ll go to the ‘Flip Home windows Options on or off’ dialogue to allow it, requiring you to restart your machine. The precise binaries that make up WSL’s logic in that optionally available element are a part of the Home windows picture and are serviced and up to date as a part of Home windows itself.”
This variation strikes these binaries from being a part of the Home windows picture, to as an alternative being a part of an utility that you simply set up from the Retailer. This decouples WSL out of your Home windows model, permitting you to replace via the Microsoft Retailer as an alternative. So now as soon as new options like GUI app assist, GPU compute, and Linux file system drive mounting are developed, examined and prepared for a launch you’re going to get entry to it immediately in your machine with no need to replace your whole Home windows OS, or going to Home windows Insider preview builds.
Whereas every thing is identical, listed here are a few of the new options that Microsoft has packaged with this Preview:
- WSLg is now bundled as a part of the WSL app!
--mount --vhdto make mounting VHD information simpler.
- Implement filesystem detection for
wsl --mount. This variation implements filesystem sort detection if no
--sortis specified when utilizing
wsl --mount. This variation provides assist for optionally naming a mountpoint when mounting a disk via WSL.
- Up to date Linux kernel to five.10.60.1
- Added progress indicator helper operate used to indicate a Please Wait message with animated dots on the conversion course of to indicate customers that WSL remains to be working.
wsl --set upto not require the
--distributionargument. This variation switches
wsl --set upto not require the
--distributionargument however maintains assist to keep away from breaking current scripts.
wsl.exe --modelcommand which shows related model info.
set up WSL within the Microsoft Retailer
To put in and run WSL for Home windows 11 via Microsoft Retailer, be sure you are working Home windows 11 construct 22000 or increased) and have the Digital Machine Platform optionally available element enabled:
Run: dism.exe /on-line /enable-feature /featurename:VirtualMachinePlatform /all in an elevated PowerShell immediate
Head over to this page to obtain WSL, set up it, after which set up a Linux distro of your selection to begin utilizing it.
You may at the moment set up each the WSL for Home windows 11 app and the in-Home windows model of WSL concurrently. Microsoft stated that the “WSL retailer model will all the time take priority, so when it’s put in in your machine then that’s the model of WSL that you simply’ll be interacting with.”
uninstall Home windows Subsystem for Linux from the Microsoft Retailer
To return to the in-Home windows model, merely observe these steps:
- Seek for “Home windows Subsystem for Linux” within the begin menu.
- Proper-click on the appliance and click on “Uninstall” to uninstall the shop model.
- Make sure the “Home windows Subsystem for Linux” optionally available element is turned on; see this step for particulars.
Want extra info, take a look at the FAQs on this blog post.