CodeBriefly
Tech Magazine

Setup Windows Subsystem Linux (WSL) on Windows 10

1 6,660

Get real time updates directly on you device, subscribe now.

In this article, we will discuss “Setup Windows Subsystem Linux (WSL) on Windows 10”. Windows 10 provides rich features to the end users. Today, I will explain to you, how you can activate the WSL.

Windows Subsystem for Linux (WSL) allows us to run Linux on the Windows 10. It’s a wonderful feature, which enables another operating system in your Windows. Means you can work on the Linux Operating System within your window.

Step to Setup Windows Subsystem Linux (WSL) on Windows 10

Activating Windows Developer Mode

Before activating the WSL, we need to activate the developer mode in windows.

Open Windows settings and click on the Update & Security option.

Setup Windows Subsystem Linux (WSL) on Windows 10

Click on the For Developers in the left sidebar. Then select Developer mode as per the following screenshot. It may take some time to initialize the mode. If prompted then restart the system.

Setup Windows Subsystem Linux (WSL) on Windows 10

Open the Control panel, and select the programs and features option.

Then click on the Turn Windows features on or off, and select the Windows Subsystem for Linux in the Windows Features list and click ok.

Restart the system when prompted.

Setup Windows Subsystem Linux (WSL) on Windows 10

Activating WSL Using PowerShell

Open PowerShell as administrator and execute the following command.

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

After that restart your system when prompted.

Installing Linux (Ubuntu)

Open the Microsoft Store and search for Linux.

It takes some time to download the selected Linux distribution as per your internet speed.

After successful download, you need to launch the Ubuntu. Then you will see the Installing message on the screen.

Here you need to create Unix username and password. You need these credentials in root commands such as sudo, su and etc.

Setup Windows Subsystem Linux (WSL) on Windows 10

Our Ubuntu terminal is ready for use now. You can use as normal Linux terminal.

Setup Windows Subsystem Linux (WSL) on Windows 10

Conclusion

In this article, we are discussing the setup of Windows Subsystem Linux (WSL). I’m trying to explain the each of the step which help you to understand this easily. Please feel free to add the comment if any query or you can submit your feedback 😉


You may like:

How to Handle Multiple PHP Versions with Apache Server on Windows

Access a Hosting Account using SSH Key with PuTTY

Access a Hosting Account using SSH

If you like our content, please consider buying us a coffee.
Thank you for your support!
Buy Me a Coffee

Get real time updates directly on you device, subscribe now.

1 Comment
  1. Jemmy W. says

    Thanks for sharing this…

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More