Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques

You're reading from   Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques Maximise productivity of your Windows 10 development machine with custom workflows and configurations

Arrow left icon
Product type Paperback
Published in Oct 2020
Publisher Packt
ISBN-13 9781800562448
Length 246 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Stuart Leeks Stuart Leeks
Author Profile Icon Stuart Leeks
Stuart Leeks
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Section 1: Introduction, Installation, and Configuration
2. Chapter 1: Introduction to the Windows Subsystem for Linux FREE CHAPTER 3. Chapter 2: Installing and Configuring the Windows Subsystem for Linux 4. Chapter 3: Getting Started with Windows Terminal 5. Section 2:Windows and Linux – A Winning Combination
6. Chapter 4: Windows to Linux Interoperability 7. Chapter 5: Linux to Windows Interoperability 8. Chapter 6: Getting More from Windows Terminal 9. Chapter 7: Working with Containers in WSL 10. Chapter 8: Working with WSL Distros 11. Section 3: Developing with the Windows Subsystem for Linux
12. Chapter 9: Visual Studio Code and WSL 13. Chapter 10: Visual Studio Code and Containers 14. Chapter 11: Productivity Tips with Command-Line Tools 15. Other Books You May Enjoy

Chapter 1: Introduction to the Windows Subsystem for Linux

In this chapter, you will learn some of the use cases for the Windows Subsystem for Linux (WSL) and start to get an idea of what WSL actually is, and how it compares to just running a Linux virtual machine. This will aid us in our understanding of the rest of the book, where we will learn all about WSL and how to install and configure it, as well as picking up tips for getting the most from it for your developer workflows.

With WSL, you can run Linux utilities on Windows to help get your work done. You can build Linux applications using native Linux tooling such as debuggers, opening up a world of projects that only have Linux-based build systems. Many of these projects also produce Windows binaries as an output but are otherwise hard for Windows developers to access and contribute to. But because WSL gives you the combined power of Windows and Linux, you can do all of this and still use your favorite Windows utilities as part of your flow.

This book focuses on version 2 of WSL, which is a major reworking of the feature and this chapter will give you an overview of how this version works as well as how it compares to version 1.

In this chapter, we will cover the following topics in particular:

  • What is WSL?
  • Exploring the differences between WSL 1 and 2

So, let's begin by defining WSL!

You have been reading a chapter from
Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques
Published in: Oct 2020
Publisher: Packt
ISBN-13: 9781800562448
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime