Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques
eBook - ePub

Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques

Maximise productivity of your Windows 10 development machine with custom workflows and configurations

Stuart Leeks

  1. 246 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques

Maximise productivity of your Windows 10 development machine with custom workflows and configurations

Stuart Leeks

Angaben zum Buch
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

A practical handbook that will help you bridge the gap between Windows and Linux to develop apps that leverage the best features across both ecosystems with seamless interoperability

Key Features

  • Configure and control WSL to suit your needs and preferences
  • Discover tips for working seamlessly between Windows and WSL Linux distros
  • Learn how to work effectively with containers in WSL, as well as how to containerize your development environments with Visual Studio Code to isolate your dependencies

Book Description

Windows Subsystem for Linux (WSL) allows you to run native Linux tools alongside traditional Windows applications. Whether you're developing applications across multiple operating systems or looking to add more tools to your Windows environment, WSL offers endless possibilities.

You'll start by understanding what WSL is and learn how to install and configure WSL along with different Linux distros. Next, you'll learn techniques that allow you to work across both Windows and Linux environments. You'll discover how to install and customize the new Windows Terminal. We'll also show you how to work with code in WSL using Visual Studio Code (VS Code). In addition to this, you'll explore how to work with containers with Docker and Kubernetes, and how to containerize a development environment using VS Code.

While Microsoft has announced support for GPU and GUI applications in an upcoming release of WSL, at the time of writing these features are either not available or only in early preview releases. This book focuses on the stable, released features of WSL and giving you a solid understanding of the amazing techniques that you can use with WSL today.

By the end of this book, you'll be able to configure WSL and Windows Terminal to suit your preferences, and productively use Visual Studio Code for developing applications with WSL.

What you will learn

  • Install and configure Windows Subsystem for Linux and Linux distros
  • Access web applications running in Linux from Windows
  • Invoke Windows applications, file systems, and environment variables from bash in WSL
  • Customize the appearance and behavior of the Windows Terminal to suit your preferences and workflows
  • Explore various tips for enhancing the Visual Studio Code experience with WSL
  • Install and work with Docker and Kubernetes within Windows Subsystem for Linux
  • Discover various productivity tips for working with Command-line tools in WSL

Who this book is for

This book is for developers who want to use Linux tools on Windows, including Windows-native programmers looking to ease into a Linux environment based on project requirements or Linux developers who've recently switched to Windows. This book is also for web developers working on open source projects with Linux-first tools such as Ruby or Python, or developers looking to switch between containers and development machines for testing apps. Prior programming or development experience and a basic understanding of running tasks in bash, PowerShell, or the Windows Command Prompt will be required.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques von Stuart Leeks im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Operating Systems. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2020
ISBN
9781800563520

Inhaltsverzeichnis

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

APA 6 Citation

Leeks, S. (2020). Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/2035181/windows-subsystem-for-linux-2-wsl-2-tips-tricks-and-techniques-maximise-productivity-of-your-windows-10-development-machine-with-custom-workflows-and-configurations-pdf (Original work published 2020)

Chicago Citation

Leeks, Stuart. (2020) 2020. Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques. 1st ed. Packt Publishing. https://www.perlego.com/book/2035181/windows-subsystem-for-linux-2-wsl-2-tips-tricks-and-techniques-maximise-productivity-of-your-windows-10-development-machine-with-custom-workflows-and-configurations-pdf.

Harvard Citation

Leeks, S. (2020) Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/2035181/windows-subsystem-for-linux-2-wsl-2-tips-tricks-and-techniques-maximise-productivity-of-your-windows-10-development-machine-with-custom-workflows-and-configurations-pdf (Accessed: 15 October 2022).

MLA 7 Citation

Leeks, Stuart. Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques. 1st ed. Packt Publishing, 2020. Web. 15 Oct. 2022.