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 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y 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

Detalles del libro
Índice
Citas

Información del libro

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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques un PDF/ePUB en línea?
Sí, puedes acceder a Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques de Stuart Leeks en formato PDF o ePUB, así como a otros libros populares de Ciencia de la computación y Sistemas operativos. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2020
ISBN
9781800563520

Índice

    Estilos de citas para 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-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-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-pdf (Accessed: 25 September 2021).

    MLA 7 Citation

    Leeks, Stuart. Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques. 1st ed. Packt Publishing, 2020. Web. 25 Sept. 2021.