As you know, there are multiple ways and multiple applications to boot multiple operating systems in parallel on the Windows platform. Windows Subsystem for Linux is one among them. WSL allows you to install and run your choice of Linux distribution (That are available in the Microsoft Store) on a Windows computer like an application. If you want to know more information about Windows Subsystem for Linux in Microsoft Windows. We have a dedicated post in which we covered all the basic information about Windows Subsystem for Linux. However, in this post, we are going to show you the practical procedure like how to install, enable, set up, and configure Windows Subsystem for Linux on a Windows computer. Let’s see a step-by-step procedure to install WSL2 on Windows and run Ubuntu on Windows using WSL2.
Windows Subsystem for Linux (WSL) is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10. WSL provides a Linux-compatible kernel interface developed by Microsoft, allowing users to run native Linux apps in unmodified Linux distributions running on the Windows kernel. This is made possible through a new Linux-compatible subsystem that was added to the Windows Kernel called Windows Subsystem for Linux (WSL).
-Wikipedia
In addition to providing increased compatibility with many existing Linux programs, WSL offers a simpler installation process for some popular Linux distributions like Ubuntu, Debian, and Kali Linux. Microsoft worked with Canonical, the company behind Ubuntu, to bring the entire userland into Windows as a separate app package. This makes it possible to run Ubuntu in Windows without having to dual-boot or use a virtual machine.
Before we head towards the installation of the Windows Subsystem for Linux 2 (WSL2), let’s check the pre-requisites to install WSL2 on Windows computers.
To run WSL2, Windows 10 should have the below versions,
For x64 systems: Version 1903 or higher, with Build 18362 or higher.
For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
Or Windows 11.
The procedure to install WSL2 on Windows and run Ubuntu on Windows using WSL2 may sound difficult, but actually, it’s not. All you have to do is enable a couple of virtualization features in Windows, download and install the kernel update package on your Windows computer, and finally, launch the Linux distribution of your choice from the Microsoft Store. That’s it. Let’s see these simple three processes in a step-by-step procedure to install WSL2 on Windows and run Ubuntu on Windows using WSL2.
Needs to enable Windows Features before installing any Linux distributions on Windows.
Click on ‘Start‘, search for ‘Turn Windows features on or off‘ –> Open.
Enable ‘Virtual Machine Platform‘ and ‘Windows Subsystems for Linux‘ features by enabling check mark and click on ‘OK‘.
Post successful installation the computer should be restarted.
Download Linux Kernel Updates Package from this Microsoft Link and Install with Administrative Privileges.
Run the downloaded Setup file. Click ‘Next‘ to start the installation and ‘Finish‘ after successful installation.
Open Microsoft Storeand based on the requirement select and install your choice of Linux Distribution. We have chosen Ubuntu in this demo tutorial.
After successful Installation, Lunch the installed Linux Distribution.
First time Lunch will take few minutes. Configure the Username and Password immediately after the launch of Ubuntu. Now your Ubuntu is ready to login.
This is how you can run Ubuntu on Windows using WSL2.
We hope this post would help you know step-by-step procedure to install WSL2 on Windows and run Ubuntu on Windows using WSL2. Please share this post if you find this interested. Visit our social media page on Facebook, LinkedIn, Twitter, Telegram, Tumblr, Medium & Instagram, and subscribe to receive updates like this.
You may also like these articles:
Arun KL is a cybersecurity professional with 15+ years of experience in IT infrastructure, cloud security, vulnerability management, Penetration Testing, security operations, and incident response. He is adept at designing and implementing robust security solutions to safeguard systems and data. Arun holds multiple industry certifications including CCNA, CCNA Security, RHCE, CEH, and AWS Security.
“Knowledge Arsenal: Empowering Your Security Journey through Continuous Learning”
"Cybersecurity All-in-One For Dummies" offers a comprehensive guide to securing personal and business digital assets from cyber threats, with actionable insights from industry experts.
BurpGPT is a cutting-edge Burp Suite extension that harnesses the power of OpenAI's language models to revolutionize web application security testing. With customizable prompts and advanced AI capabilities, BurpGPT enables security professionals to uncover bespoke vulnerabilities, streamline assessments, and stay ahead of evolving threats.
PentestGPT, developed by Gelei Deng and team, revolutionizes penetration testing by harnessing AI power. Leveraging OpenAI's GPT-4, it automates and streamlines the process, making it efficient and accessible. With advanced features and interactive guidance, PentestGPT empowers testers to identify vulnerabilities effectively, representing a significant leap in cybersecurity.
Tenable BurpGPT is a powerful Burp Suite extension that leverages OpenAI's advanced language models to analyze HTTP traffic and identify potential security risks. By automating vulnerability detection and providing AI-generated insights, BurpGPT dramatically reduces manual testing efforts for security researchers, developers, and pentesters.
Microsoft Security Copilot is a revolutionary AI-powered security solution that empowers cybersecurity professionals to identify and address potential breaches effectively. By harnessing advanced technologies like OpenAI's GPT-4 and Microsoft's extensive threat intelligence, Security Copilot streamlines threat detection and response, enabling defenders to operate at machine speed and scale.