The installation of Ubangtu operating system in WSL

Step 1: First, enable WSL Refer to the official website:

https://docs.microsoft.com/zh-cn/windows/wsl/install-manual

Step 2: Download the installation package in website:

https://docs.microsoft.com/zh-cn/windows/wsl/install-manual#downloading-distributions

step3:ubuntu18.04:

https://wslstorestorage.blob.core.windows.net/wslblob/Ubuntu_1804.2019.522.0_x64.appx
The downloaded file name is:Ubuntu_1804.2019.522.0_x64.appx

Step 4: Unzip and install Linux

Firstly, change the suffix of the Ubuntu 1804.2019.522.0_x64.appx file to zip, that is, the Ubuntu 1804.2019.522.0_x64.zip file

Then, unzip to the directory you want to unzip and run ubuntu1804.exe

Windows command line run:
You can see all Linux virtual machines
wslconfig /l
image

using:
Wslconfig/u name
Delete this virtual machine

If it's not an installation issue, how can I enter Linux?

wsl -d Ubuntu-18.04

posted @ 2024-05-23 16:15  PostMan_Zc  阅读(39)  评论(0)    收藏  举报