Skip to content

Instantly share code, notes, and snippets.

@saydex
Last active June 9, 2020 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saydex/77801aeb43c64702ceb1d2598a8ed0ff to your computer and use it in GitHub Desktop.
Save saydex/77801aeb43c64702ceb1d2598a8ed0ff to your computer and use it in GitHub Desktop.
Windows 10 - Using WSL 1 and WSL 2 side by side

Prerequisite

  • Had WSL 1 installed before the 2004 update
  • Hyper-V Enabled (Virtualization; require CPU that have this featured enabled)
  • Windows 10 version 2004 update (May 2020)
  • One of the following linux app downloaded from Windows Store
Ubuntu 16.04 LTS
Ubuntu 18.04 LTS
Ubuntu 20.04 LTS
openSUSE Leap 15.1
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP1
Kali Linux
Debian GNU/Linux
Fedora Remix for WSL
Pengwin
Pengwin Enterprise
Alpine WSL

Legacy Bash on Ubuntu can only use WSL 1

Official Guides

https://devblogs.microsoft.com/commandline/wsl2-will-be-generally-available-in-windows-10-version-2004/

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment