This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:win10wsl [2022/08/12 12:30] jypeter Added the original WSL1 content back to the page, before updating it for WSL2 |
other:win10wsl [2022/08/12 14:30] jypeter [What is WSL ?] Updated |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Windows Subsystem for Linux (WSL), and Ubuntu ====== | + | ====== Windows Subsystem for Linux 2 (WSL 2), and Ubuntu ====== |
[[other:index#windows_10_notes|Other Windows 10 related notes]] | [[other:index#windows_10_notes|Other Windows 10 related notes]] | ||
- | <note warning>What is described on this page was tested with **WSL v1**, and not WSL 2 | + | <note warning> |
+ | * What is described on this page was tested with [[https://docs.microsoft.com/en-us/windows/wsl/compare-versions#whats-new-in-wsl-2|WSL 2]].\\ **WSL 2** is available in [[https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-2---check-requirements-for-running-wsl-2|Windows 11 or Windows 10, Version 1903, Build 18362 or later]] | ||
- | [[https://docs.microsoft.com/en-us/windows/wsl/wsl2-index|WSL 2]] is available in ''Windows 10 v2004'' (April 2020) and more recent, and should also be available in [[https://devblogs.microsoft.com/commandline/wsl-2-support-is-coming-to-windows-10-versions-1903-and-1909/|1903 and 1909 versions]] | + | * You can also check JYP's [[other:win10_wsl_1|original WSL 1 instructions]] |
- | The user can choose to install Linux using WSL1 or WSL2. Check the [[https://docs.microsoft.com/en-us/windows/wsl/compare-versions|differences between WSL1 and WSL2]] before choosing</note> | + | * The user can choose to install Linux using **WSL 1 or WSL 2** |
+ | * **WSL 2 should be your default choice** | ||
+ | * If you have doubts, check the [[https://docs.microsoft.com/en-us/windows/wsl/compare-versions|differences between WSL1 and WSL2]] and read [[https://docs.microsoft.com/en-us/windows/wsl/compare-versions#exceptions-for-using-wsl-1-rather-than-wsl-2|Exceptions for using WSL 1 rather than WSL 2]] before choosing | ||
+ | </note> | ||
===== What is WSL ? ===== | ===== What is WSL ? ===== | ||
- | Useful reading: | + | //Windows Subsystem for Linux// (**WSL**) lets you **run a Linux distribution on your Windows computer**, without the overhead of a traditional virtual machine (VM) or dual-boot setup |
- | * Have a look at the beginning of the [[https://docs.microsoft.com/en-us/windows/wsl/about|Windows Subsystem for Linux Documentation]] for a quick **WSL** description on the Microsoft site | + | |
- | * Read [[https://wiki.ubuntu.com/WSL|What is WSL]] on the Ubuntu site | + | |
- | * There is more useful information on the //WSL@Ubuntu page//, you can read the rest later | + | |
- | + | ||
- | In a few words, WSL is not Linux, it's more a way to [[https://blogs.msdn.microsoft.com/wsl/2016/06/15/wsl-file-system-support/|share files between Windows and Linux]] (it's OK to skip this rather technical link!). [[https://docs.microsoft.com/en-us/windows/wsl/faq#are-files-in-the-linux-drive-different-from-the-mounted-windows-drive|Files under the Linux root (i.e. /) are controlled by WSL which mimics Linux specific behavior [...follow the link for details...]]]. That's why you need //to activate WSL **and then install a Linux distribution**//. | + | |
+ | More reading: | ||
+ | * [[https://docs.microsoft.com/en-us/windows/wsl/about|What is the Windows Subsystem for Linux?]] | ||
+ | * [[https://docs.microsoft.com/en-us/windows/wsl/about#what-is-wsl-2|What is WSL 2?]] | ||
+ | * [[https://wiki.ubuntu.com/WSL#What_is_WSL.3F|What is WSL?]] on the Ubuntu wiki site | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||