<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rahul Dabgotra</title>
    <description>The latest articles on DEV Community by Rahul Dabgotra (@rahuldabgotra).</description>
    <link>https://dev.to/rahuldabgotra</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F504718%2F96bb6ac1-91b8-4ea2-beb6-6fe88e3ea2fe.png</url>
      <title>DEV Community: Rahul Dabgotra</title>
      <link>https://dev.to/rahuldabgotra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rahuldabgotra"/>
    <language>en</language>
    <item>
      <title>Windows Subsystem for Linux Installation Guide for Windows 10</title>
      <dc:creator>Rahul Dabgotra</dc:creator>
      <pubDate>Sun, 31 Jan 2021 12:44:10 +0000</pubDate>
      <link>https://dev.to/rahuldabgotra/windows-subsystem-for-linux-installation-guide-for-windows-10-228b</link>
      <guid>https://dev.to/rahuldabgotra/windows-subsystem-for-linux-installation-guide-for-windows-10-228b</guid>
      <description>&lt;h1&gt;
  
  
  WSL Installation Steps
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Step 1 - Enable the Windows Subsystem for Linux
&lt;/h2&gt;

&lt;p&gt;You must first enable the "Windows Subsystem for Linux" optional feature before installing any Linux distributions on Windows.&lt;/p&gt;

&lt;p&gt;Open PowerShell as Administrator and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;dism.exe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/online&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/enable-feature&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/featurename:Microsoft-Windows-Subsystem-Linux&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/all&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/norestart&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2 - Enable Virtual Machine feature
&lt;/h2&gt;

&lt;p&gt;Before installing WSL 2, you must enable the Virtual Machine Platform optional feature. Your machine will require virtualization capabilities to use this feature.&lt;/p&gt;

&lt;p&gt;Open PowerShell as Administrator and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;dism.exe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/online&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/enable-feature&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/featurename:VirtualMachinePlatform&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/all&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;/norestart&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Restart your machine to complete the WSL install and update to WSL 2.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3 - Download the Linux kernel update package
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Download the latest package:

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi" rel="noopener noreferrer"&gt;WSL2 Linux kernel update package for x64 machines&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once the installation is complete, move on to the next step.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4 - Install your Linux distribution of choice
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the Microsoft Store and select your favorite Linux distribution.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fdztiwuy1h5zkxrjgyzn9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fdztiwuy1h5zkxrjgyzn9.png" alt="View of Linux distributions in the Microsoft Store"&gt;&lt;/a&gt;&lt;br&gt;
The following are some example of distributions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.microsoft.com/store/apps/9n6svws3rx71" rel="noopener noreferrer"&gt;Ubuntu 20.04 LTS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.microsoft.com/store/apps/9PKR34TNCV07" rel="noopener noreferrer"&gt;Kali Linux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.microsoft.com/store/apps/9MSVKQC78PK6" rel="noopener noreferrer"&gt;Debian GNU/Linux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;From the distribution's page, select "Get".&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for a minute or two for files to de-compress and be stored on your PC. All future launches should take less than a second.&lt;/p&gt;

&lt;p&gt;You will then need to create a user account and password for your new Linux distribution.&lt;/p&gt;

&lt;p&gt;Ubuntu unpacking in the Windows console&lt;/p&gt;

&lt;p&gt;CONGRATULATIONS! You've successfully installed and set up a Linux distribution that is completely integrated with your Windows operating system!&lt;/p&gt;

</description>
      <category>wsl</category>
      <category>windows</category>
    </item>
  </channel>
</rss>
