But now, the installation process has become pretty easy with theWindows Subsystem for Linux (WSL).
What Is Windows Subsystem for Linux?
What is the Difference Between WSL 1 and WSL 2?
WSL 1andWSL 2are two versions of Windows Subsystem for Linux.
you could also easily install and run most command-line tools, utilities, and applications.
For instance, it lets yourun common Linux commandslike Grep, Sed, Awk, etc.
What Can You Do With Windows Subsystem for Linux on Windows 11/10?
Therefore, in this section, weve explained everything you could do with the WSL.
What Are the Requirements To Install Windows Subsystem for Linux?
Below are the requirements you gotta fullfill.
If your PC meets the minimum installation requirement, move ahead and enable Windows Subsystem for Linux.
OpenPowerShell as administratorand trigger the below-mentioned command.
2.TypeWindows Subsystem for Linuxin theSearch Boxat the top.
- grab the appfrom the results, and click theGetorInstallbutton next to the app to install it.
4.Once theWindows Subsystem for Linuxapp is installed on your Windows 11 PC, click onOpento launch the program.
Note:The default Linux distribution will beUbuntu.
you could install other Linux distributions from the Microsoft Store.
you’re free to check the next section to know how to set up WSL.
3.Open theMicrosoft Storeon your Windows 11 PC and search for theLinux distroyou want to install using the search function.
For instance, if you want to install UbuntuUbuntu 18.04.5 LTS, search for the same.
4.Now, click theGetorInstallbutton next to the app name andwait for the programto download and install on your system.
3.Once you execute the above command, youll see that your preferred Linux distribution has started installing.
you gotta wait until the process completes.
Once the installation is completed,start your Windows 11 PCand set up the Linux distribution on your rig.
Youve to firstenable the Windows Subsystem for Linux featureon your PC.
After doing this, you might easily install your favorite Linux distribution from the Microsoft Store.
2.you might also execute the mentioned command in theWindows PowerShell (Admin) appto easily do the same.
you might refer toMethod 2 (Step 2 Step 4)to know the steps for the same.
Youve to set up a username and password.
We installed theUbuntu 18.04.5 LTSapp on our PC.
So, well open theUbuntu 18.04.5 LTSapp using theWindows Search Boxon our Windows 11 PC.
2.Once the app is opened,press any keyboard keyto begin the setup process.
3.Itll ask you to set the username for your Linux first.
So, jot down theusernameyou want to setand pressEnter.
You dont need to keep the username the same as your Windows username.
4.Then,enter the passwordyou want to set in the respective place, and press theEnter keyto move ahead.
Once youve provided the Linux with the necessary information, the installation process will start immediately.
After completing the installation process, youll get theInstallation successful!completion message.
2.Now, throw in thebelow-mentioned commandin the console and press theEnter keyto initiate the command.
After running the above command in Command Prompt, itll start checking for new updates and download them.
The mentioned commands will set WSL 2 as the default WSL version.
The default WSL version must be changed now.
you’ve got the option to check the current WSL version using thewsl -l -vcommand.
Frequently Asked Questions
Is WSL Available for Windows 11?
Yes, Windows Subsystem for Linux (WSL) is available for Windows 11.
Besides this, its also available for Windows 10 version 2004 and higher.
How Do I Enable Windows Subsystem for Linux Optional Component in Windows 11?
To enable WSL optional component on your Windows 11 PC.
Why Is There Linux on Windows 11?
It was introduced to eliminate the process of creating virtual machines, disk partitions, etc.
Is Windows 11 Actually Linux?
No, Windows and Linux are both different operating systems.
However, both operating systems have some similarities, which makes us believe that both are the same.
For instance, Windows 11 can run graphical Linux apps using WSL, which Linux also supports.
Is WSL As Good as Linux?
But it supports all kinds of tasks that Linux can do.
But now, it has become so smooth and effortless with WSL.
We hope the above-mentioned methods helped you enable WSL on your box and install your favorite Linux distribution.
Before saying goodbye, let us know which method you used to enable WSL on your Windows 11 PC?