© Prateek Singh 2020
P. SinghLearn Windows Subsystem for Linuxhttps://doi.org/10.1007/978-1-4842-6038-8_4

4. Managing WSL Distributions

Prateek Singh1 
(1)
Bangalore, India
 

In this chapter, we are going to learn to manage our Linux distributions on WSL, which can be anything from setting a default distribution, backing up configurations and settings using the export feature, or restoring the distro with the import feature. More than that, we will also look into ways to unregister, uninstall, and reinstall a Linux distribution and, toward the end of this chapter, create a custom Linux distribution for WSL.

Let’s start with getting a list of the Linux distributions on your system.

List Distributions

First thing first, before we can even manage our WSL ...

Get Learn Windows Subsystem for Linux: A Practical Guide for Developers and IT Professionals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.