In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how linux installs WSL. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Windows Subsystem for Linux (WSL for short) is a compatible layer that can run Linux binary executable files (ELF format) natively on Windows 10. To put it simply, WSL is a subsystem running under Windows in the form of software.
Recently, Microsoft announced that Windows 10 Version 2004 and later can install the content required by WSL through the "wsl.exe-install" command. Microsoft said the previous process of setting up WSL was too complex and involved opening multiple designs and installing multiple packages.
One command to install Windows Subsystem for Linux one command to install Windows Subsystem for Linux
Now that Microsoft has simplified the process to a command, Windows 10 users can now simply open a command prompt with administrator privileges and run wsl.exe-install. After hitting the enter key, the background executes the required WSL optional functions, installs the Ubuntu distribution by default, and installs the latest WSL Linux kernel version on your machine. After you finish and restart the machine, your distribution will start after you start again, and the installation will be completed.
In addition, you can enter a command at a PowerShell or Windows command prompt
Wsl-list-online
To find a list of Linux distributions available for installation. To install a distribution other than the Ubuntu default, use the following command:
Wsl-- install-d
Will be replaced with the name of the Linux distribution found in the previous list command. This installation command can be used to install for the first time or to add another distribution after you have installed WSL using the default Ubuntu distribution.
Microsoft also includes some additional commands to help you use this backward migration to manage WSL instances. You can update the WSL Linux kernel manually using wsl-update, or you can use the
Wsl-update rollback
Roll back to the previous WSL Linux kernel version.
Finally, you can use wsl-status to view general information about the WSL configuration, such as the default distribution type, default release, and kernel version. This update is part of KB5004296, where you can find complete instructions on how to ensure that it is installed and its changes.
Thank you for reading! This is the end of this article on "how to install WSL in linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.