點燈坊

失くすものさえない今が強くなるチャンスよ

WSL2 Overview

Sam Xiao's Avatar 2021-11-18

WSL is Windows Subsystem for Linux. We can have Linux development experience in WSL.

Version

Parallel Desktop 17
WSL 2

Parallel Desktop

overview001

To use WSL2 in Parallel Desktop, we have to do the following settings:

  • Hypervisor : Parallels
  • Nested Virtualization : Yes

WSL

$ wsl --install
  • Run Command Prompt as Administrator
  • Use wsl --install to install WSL
  • Restart Windows

overview

Install Ubuntu

overview002

After restarting Windows, run WSL to install Ubuntu.

overview003

When Ubuntu is installed successfully, you can see the Ubuntu command prompt.

Conclusion

  • WSL is a great feature provided by Microsoft. We can use Ubuntu in WSL

Reference

Microsoft Docs, Install WSL