- Advertisment -
Home How To How to enable the Windows subsystem for linux feature

How to enable the Windows subsystem for linux feature

The Windows Subsystem for Linux (WSL) is an efficient way to get the benefits of different Linux operating systems on Windows 10 PC and laptops. WSL allows running of Linux apps directly on Windows 10 system without using any virtualization software like VirtualBox or VMware. The WSL is available for Windows 10 and Windows server 2019.

- Ad-

Windows Subsystem for Linux (WSL) basically a compatibility layer developed by Microsoft for running Linux binaries. It doesn’t contain any kind of Linux kernel code rather it uses a Linux compatible kernel interface. The disadvantage of the WSL it is not capable of running all Linux software especially those requires the Linux kernel services.

We can run Linux apps in graphical mode by installing the opensource X11 server on the Windows 10 (hosts), however, the performance would be poor due to lack of audio or hardware acceleration.

There are lots of advantages of WSL too, such as the user don’t need to install any Virtual machine to test out Linux application; one can install and create Apache (LAMP stack), Nginx kind of web server natively on Windows 10; different types of Linux distributions systems available as apps such as Debian, Ubuntu, Kali Linux and OpenSuse; Consume low resources as compared to Virtual machines; navigate around the file system; use of command line Linux apps via Bash and more… Now let’s see how to install Windows subsystem for Linux on Windows 10 or Windows server 2019. The WSL is not available for older versions of Windows.

Enable Windows Subsystem for Linux (WSL) on Windows 10

  • Open Control Panel 
  • Click on Programs option
  • Select the Turn Windows features Turn on or off
  • Scroll down and find Windows SubSystem for Linux
  • When it appears to select its checkbox and click on the OK button.
  • In a few minutes, the Windows Subsystem for Linux (ASL) will automatically get installed on the system.
  • After installation, click the Restart Now button.
  • Now open Microsoft Windows store and search for Linux
  • Install any of the available open-source Linux apps on Windows 10

Step by step installation with screenshots

Step 1: Click on the Start menu of Windows and navigate to open the control panel.

Step 2: From the Control Panel, first click on the “Turn Windows features on or off” option. One can also search directly for it from the Search box of Windows.

Turns windows features turn on or off from control panel

Step 3: Scroll down and you will find an option Windows Subsystem for Linux. A box is given in front of that click on that to check and then the OK button to install the WSL on Windows 10.

subsystem for Linux

Step 4: When it asks to restart the system do that.

Step 5: After the installation, go to the Microsoft store and download the Linux app to play with.

Step 6: When you search for the term Linux: Run Linux of Windows, Debian, Ubuntu, OpenSuse enterprise server, Kali Linux environments will appear. Choose the one you want to work with to download and install. Here we are installing Ubuntu 18.04.

Run linux on WIndows

Step 7: Once we installed Ubuntu or other Linux apps on Windows then just go to search box and type its name. For example, we have installed Ubuntu, so we typed Ubuntu.

Ubuntu 18.04 on windows WSL

Step 8: As soon as you open the bash of Ubuntu on Windows you can run the native Linux commands directly on Windows 10 systems. You can now setup Apache (LAMP) web server without the need of WAMP or XAMPP like servers.  All the files of the Linux apps will save on your C Drive without any contradiction with Windows files.

We tried to set up Apache and PHP on Ubuntu on Windows 10 subsystem for Linux and it worked perfectly. It was smooth and performed better than installing a virtual machine using VirtualBox or other Virtualization software.

Installing PHP on Windows subsystem Linux

So, in this way, anyone can enable the subsystem for Linux on Windows to test different Linux commands without compromising much on hardware resources.

Other Useful Resources:

Rajkumar Mauryahttps://www.how2shout.com
He’s always been passionate about technology and writing on the subject since 2014. He has a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. You can contact the author at-- raj@how2shout.com


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

- Advertisment -

Latest Posts

Should TikTok be Banned in India or not?

This is one of the hottest questions of the moment especially in India for sure. Before we go deep...

Newgen Software reports Revenues of Rs 661 cr in FY’20, Revenues from Cloud Business up by 60%

Press Release: Speaking about the results, Mr. Diwakar Nigam, Chairman & Managing Director, Newgen Software Technologies Ltd. said –...

MediSec- A range of medical equipment and kits by Secureye

Amid COVID-19, lots of businesses either have turned their focus towards medical equipment or started improving the existing ones....

Ambrane TWS ‘Beats Duo’ earphones with Voice Assistance launched at Rs. 3,299/-

To expand the audio portfolio, Ambrane has added new truly wireless earphones that named as "Beats Duo". As per...
- Advertisement -

9 Best & Top Open source IoT Platforms To Develop the IOT Projects

The Internet of Things (IoT) is the future of technology that helps the Artificial intelligence (AI) to control and...

Technology in classrooms: What are the benefits of technology in the classroom?

Technology in classrooms is the most effective way in today's era to completely eradicate the ignorance from students life...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you