Introduction

WSL stands for Windows Subsystem for Linux. With WSL, it is easy to switch and integrate between Windows and Linux, use open source tools and environments to develop or test Linux-related projects, take advantage of Windows hardware support and performance optimizations to run Linux applications, and experience different Linux distributions.

Using deepin WSL

1. Confirm system support: The minimum requirement for WSL is Windows 10 version 1709 (internal version number 16299) or later.

2. Enable the WSL feature: Open Windows PowerShell (with administrator privileges) and run the following command:

wsl --install

This will enable the WSL and VM platform features and download and install the WSL 2 engine. Alternatively, in the menu bar, go to Control Panel and find Programs, select Enable and disable Windows features, find "Windows Subsystem for Linux" and "Virtual Machine Platform" and check them, the required components will be downloaded and installed automatically. The required components will be downloaded and installed automatically.

3. Open Microsoft Store, search for deepin wsl, find it and click Get to install it.

4. When you run it for the first time, you will be prompted to set a username and password, follow the instructions to complete the configuration.

Related Projects

If you want to customize WSL, you can refer to the following projects.

1.deepin-rootfs   This is the project to make the root filesystem of deepin v23, which provides the root filesystem for WSL.

2.WSL-DistroLauncher   This is the official WSL launcher from Microsoft.

3.deepin-WSL   This is a modified version of the WSL-DistroLauncher project. The deepin WSL that is available on the app store also relies on this project.

4.wsldl  This is a third-party WSL launcher.

wsldl is a third-party launcher that requires only the root filesystem for a new installation of WSL, as well as the renaming of an executable file to run an instance using a generic tool. You need to import the root filesystem by yourself with commands, and the default user is root, so you need to manually configure other users to use it.

WSL-DistroLauncher official launcher, need to package the root filesystem together into an executable program under Windows, and also need to rely on this program for the app store. You need to install cer certificate, double-click it to run the executable program, and follow the prompts to create a user after successful installation.

The deepin-WSL project provides two kinds of launcher executables at the same time.

News source: deepin community

Reprinted with attribution

Leave a Reply