The Founder’s Guide:

How to Install Windows Subsystem for Linux 2 (WSL2)

The condensed tutorial with copy and paste code and screenshots

“The expanded version of this article uses concise explanations to help you learn what’s happening 💡”

Join the Windows Insider Program:

  1. Visit the official website
  2. Click “Register”
  3. Click “Sign In Now”
  4. Sign into Microsoft
  5. Check “I Accept the Terms of This Agreement”
  6. Click “Register Now”
  7. Click “Flight Now”

Select the Dev Channel:

  1. Click “Open Settings”
  2. Click “Get Started”
  3. Click “Link an Account”
  4. Sign into Microsoft
  5. Select “Dev Channel”
  6. Click “Confirm”
  7. Click “Restart Now”

Check the Windows Update:

  1. Press “⊞ Windows”
  2. Enter “Check for Updates” into the search bar
  3. Click “Check for Updates”
  4. Click “Check for Updates”

Open PowerShell:

  1. Press “⊞ Windows”
  2. Enter “PowerShell” into the search bar
  3. Click “Run as Administrator”

Enable WSL2:

  1. Copy the command from below these instructions
  2. Paste the command into PowerShell
  3. Press “Enter”
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Check the Windows Update:

  1. Press “⊞ Windows”
  2. Enter “Check for Updates” into the search bar
  3. Click “Check for Updates”
  4. Click “Advanced Options”
  5. Click “Receive Updates for Other Microsoft Products”
  6. Click “←”
  7. Click “Check for Updates”

Enable the Virtual Machine Platform:

  1. Copy the command from below these instructions
  2. Paste the command into PowerShell
  3. Press “Enter”
  4. Restart the computer
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Update the Kernel:

  1. Copy the command from below these instructions
  2. Paste the command into PowerShell
  3. Press “Enter”
wsl --update

Set the Default Version:

  1. Copy the command from below these instructions
  2. Paste the command into PowerShell
  3. Press “Enter”
wsl --set-default-version 2

Install Ubuntu:

  1. Open the Microsoft Store
  2. Click “Get”
  3. Click “Install”
  4. Click “Launch”

Create the User Account:

  1. Enter a username into PowerShell
  2. Enter a password into PowerShell
  3. Reenter the password into PowerShell

“Hopefully, this article helped you get the 👯‍♀️🏆👯‍♀️, remember to subscribe to get more content 🏅”

Next Steps:

This article is part of a mini-series that helps readers set up everything they need to start learning about artificial intelligence, machine learning, deep learning, and or data science. It includes articles that contain instructions with copy and paste code and screenshots to help readers get the outcome as soon as possible. It also includes articles that contain instructions with explanations and screenshots to help readers learn about what’s happening.

Linux:
01. Install and Manage Multiple Python Versions
02. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
03. Install the Jupyter Notebook Server
04. Install Virtual Environments in Jupyter Notebook
05. Install the Python Environment for AI and Machine Learning
WSL2:
01. Install Windows Subsystem for Linux 2
02. Install and Manage Multiple Python Versions
03. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
04. Install the Jupyter Notebook Server
05. Install Virtual Environments in Jupyter Notebook
06. Install the Python Environment for AI and Machine Learning
07. Install Ubuntu Desktop With a Graphical User Interface (Bonus)
Windows 10:
01. Install and Manage Multiple Python Versions
02. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
03. Install the Jupyter Notebook Server
04. Install Virtual Environments in Jupyter Notebook
05. Install the Python Environment for AI and Machine Learning
Mac:
01. Install and Manage Multiple Python Versions
02. Install the Jupyter Notebook Server
03. Install Virtual Environments in Jupyter Notebook
04. Install the Python Environment for AI and Machine Learning

From: Non-Technical | To: Technical | Writes: To Make It Easier For Everyone | Topics: #Setup #Basics #AI #MachineLearning #DeepLearning #Repositories

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store