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 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
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

DĂ©tails du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques par Stuart Leeks en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Operating Systems. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2020
ISBN
9781800563520
Édition
1

Table des matiĂšres

  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
Normes de citation pour 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.