Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
The Windows Subsystem for Linux is running on Windows 11 and Windows 10. You can use bash to test some commands or run some of the other utilities best Linux apps. . Dual booting is much more convenient than having both operating systems.
Some items only work with certain WSL versions, so you don’t know which version you have. This article will show you how to find the WSL version for Windows 11 as well as Windows 10. It also includes a couple of other tricks.
WSL is available in only two form.
WSL 2 can only be used on Windows 11 and Windows 10 Version 1903 Build 19362 v.2, or later. You’re fine if you have Windows 10 installed and are keeping your computer up-to-date. We have an article that will help you determine if you are unsure Which version of Windows do you use? You already have. Windows 10 older versions are not compatible with WSL 1.
WSL is installed using PowerShell, or via the command line with the wsl.exe –install You will be able to use the default WSL version by simply typing “command” You now have the default version of WSL Ubuntu 20.04 LTS Linux distro with its WSL 2 versio.
If you don’t know if the default WSL installation was done correctly, or if you’ve installed multiple Linux distributions that differ from one another and need to determine which version you are using. It’s also possible to find out the version of each distribution in this case.
WSL will default to the default distro, even if WSL isn’t asked. You can see the default distro command line interface (CLI) by running it.
Let’s convert openSUSE-42 to WSL 2 from WSL 1. This same procedure can be used to modify any distro, from WSL 1 to WSL 2.
The message will be displayed Conversion in progress, this may take a few minutes… A fresh installation of the distro can be completed in as short as 20 seconds. Once you get the message, it is done, Conversion complete.
You should first check the current defaults before you attempt to change the default WSL or Linux distro. It will also display the date and time WSL was last updated.
The defaults from the previous WSL update, along with the current kernel version, will be displayed.
It’s been quite some time since the WSL last updated. To ensure you are using the most recent version, you’d like it updated.
Have you ever checked your WSL status to see that the message “”…automatic upgrades cannot occur because of your system settings”? This is how you can fix it.
You might prefer to have WSL 1 on future Linux distro installation. You can change this quickly. This is also a way to change WSL 2 default.
Open the Windows Start menu, select WSL and you might choose to install a different Linux distribution than Ubuntu. You can easily change your mind.
When you are ready to run, WSLfrom the Start It opens the menu Kali Linux.
You can view the WSL help documentation by using the command wsl –help.
You can also check our article on how to install WSL Bash Windows 11. . We’re sure to have even more WSL-related articles waiting for you when you return.