Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

What is Windows Subsystem for Linux

Posted on 05/05/202001/10/2023 IT Expert By IT Expert No Comments on What is Windows Subsystem for Linux
  1. Home
  2. Windows Server
  3. What is Windows Subsystem for Linux
Windows Subsystem for Linux

Windows Subsystem For Linux is a new feature of the modern Windows system (WSL has been available for Windows 10 since 2017, and starting from Server 2016 version 1803 (released April 30, 2018), WSL can now be installed on WSL). WSL is not an open-source program or Linux kernel, but rather a proprietary Microsoft framework. To run Windows on Linux, you will need a piece of software called WineHQ. See the following links for more information. What is WineHQ: What is WineHQ, how to install WineHQ on Linux, and how to run Windows applications on Linux. 

With WSL, users can run Linux OS natively on their Windows 10 and Windows Server. This is a real game-changing technology that allows your favourite flavour of Linux whether that be Ubuntu, RedHat, Kali Linux, Alpine, Pengwin, Debian, or openSUSE, to run right in Windows. In this article, we’ll take a look at getting WSL installed and testing out some of the great features it has to offer.

  • For how to install the Windows Subsystem for Linux (WSL) on Windows Server via Server Manager and PowerShell, see the following link.
  • How to install the Windows Subsystem for Linux (WSL) on Windows 10, see the following link.

A brief difference between Windows Traditional VM and WSL

Virtual MachineWSL – Windows Subsystem for Linux
IsolatedIntegrated
Memory Intensivesmall memory footprint
Managed manuallyRuns only when needed
Slow to boot upFast to bootup

Why WSL?

WSL is primarily a development tool, and it exists to help web and software developers for testing purposes. The majority of the software that is run on Windows is actually created in Linux. Before WSL, in the past, to enable Linux to run on Windows, developers have made it work as best they can, creating tools and workarounds like Cygwin or MYSYS so their Linux work plays well with Windows and vice versa.

As discussed, WSL is an important feature for developers. For example, by running a Linux distro with WSL, web developers can be coding in Linux while simultaneously monitoring in real-time the exact page they’re working on via a web browser in Windows, and without requiring extra or paid software. Furthermore, since WSL is a Windows process, you can use Windows tools and functions like the task manager at the same time. Being able to kill a Linux process with the task manager is helpful for those times when something fails or a process hangs. See the following links for examples: How to install Ansible on Windows, how to install additional packages via Cygwin, how to install Cygwin packages from the command line using apt-cyg, and how to install Kerberos packages in Windows via Cygwin.

WSL Drawback

At the moment, WSL does not support Graphical User Interface (GUI) versions of Linux but rather uses a command-line environment. For how to administer Linux via the web, see the following guide. WSL’s command-line interface requires the user to know Linux commands and understand the file organization of a Linux system.

How does the Windows Subsystem for Linux (WSL) work?

WSL translates the Linux system calls returned by the process to the Windows kernel calls while a Linux distro sits on top (compatibility layer and this allows running Linux binaries). It is thus eliminating the need for the Linux kernel in the process. So basically, it is Linux inside Windows. Furthermore, there is no emulation involved whatsoever.

– Underneath the WSL translation layer, implemented as a driver. This is a Windows Driver that implements the Linux Kernel ABI which handles System Calls, Virtual Files, and File Systems.
– At the base of this architecture is the Windows NT kernel.

Windows Subsystem for Linux Architecture 1
Windows Subsystem for Linux Architecture 1
Windows Subsystem for Linux Architecture 2
Windows Subsystem for Linux Architecture 2

Differences between WSL2 and WSL1 – Capabilities of WSL2
– An Actual Linux Kernel
– Full System Call Capability
– Socket/Networking Performance
– File System Performance

Obviously, the change brought by WSL 2 is a great and lightweight virtual machine based on Microsoft’s hardware virtualization service Hyper-V.

  • Having a native hypervisor helps the WSL2 implementation to pull clear any disadvantages that WSL1 had when it first launched.
  • With the availability of a real Linux Kernal enables the user to execute tasks with full system call compatibility. So, the platform becomes much more potent for handling Linux-based applications.

I hope you found this blog post on What is Windows Subsystem for Linux informative. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Linux distro, Microsoft Windows, Slide, Ubuntu, Windows Subsystem for Linux

Post navigation

Previous Post: How to reset your lost or forgotten Windows 10 Password
Next Post: How to disable automatic screen lock in Ubuntu Linux

Related Posts

  • Active Directory migration
    Migrate Active Directory Domain and Forest with Veeam Replica Backup
  • hero activedirectory
    How to move a computer object from one container (OU) to another Windows Server
  • schedulepythontasksinWindows
    Task Scheduler shows task still running despite successful Windows
  • Install and configure wds 1
    Install Windows Deployment Services on Windows Server 2022 Windows Server
  • screenshot 2020 03 26 at 22.14.14
    How to create a scheduled task with Windows Admin Center Windows Server
  • active directory faq 2016 1
    How to detect who disabled a user in Active Directory Windows Server

More Related Articles

Active Directory migration Migrate Active Directory Domain and Forest with Veeam Replica Backup
hero activedirectory How to move a computer object from one container (OU) to another Windows Server
schedulepythontasksinWindows Task Scheduler shows task still running despite successful Windows
Install and configure wds 1 Install Windows Deployment Services on Windows Server 2022 Windows Server
screenshot 2020 03 26 at 22.14.14 How to create a scheduled task with Windows Admin Center Windows Server
active directory faq 2016 1 How to detect who disabled a user in Active Directory Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Repository time shift detected
    Fix Repository time shift detected: Immutability flag cannot be set Backup
  • Case Of Internal Sabotage And Recovery
    A real case of Internal Sabotage and Recovery Network | Monitoring
  • How to Remove Language Pack
    How to forcefully remove Language Pack on Windows 10 and 11 Windows
  • HP driver
    Printer Driver Information: How to determine the version and type of a Printer Driver Windows
  • Reset folder view settings on File Explorer for Windows 11 and 10
    Reset folder view settings on File Explorer for Windows 11 and 10 Windows
  • Screenshot 2021 10 07 at 00.00.32
    How to fix this computer is a domain controller: The snap-in cannot be used on a domain controller Windows Server
  • increaseEmailsize
    Email Size Limits: Boost for High Profile Users in Exchange 2010 Network | Monitoring
  • S3 Bucket 1
    How to delete AWS S3 Bucket and Objects via  AWS CLI from Linux AWS/Azure/OpenShift

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,796 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.