当前位置:网站首页>Windowns offline wsl2 installation
Windowns offline wsl2 installation
2022-04-21 22:00:00 【Boy Baoding】
WSL2 The offline installation manual can be divided into several steps
Turn on Windows Subsystem for Linux Options
Open as super administrator PowerShell(“ Start ” menu >“PowerShell” > Right click >“ Run as administrator ”), Run the command :
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Check WSL2 Operational dependency
Use WSL2 The operating system must be win10, And the following conditions must be met :
- about x64 System : edition 1903 Or later , use Internal version 18362 Or later .
- about ARM64 System : edition 2004 Or later , use Internal version 19041 Or later .
- lower than 18362 The version of does not support WSL 2. Use Windows Update assistant to update Windows edition .(https://www.microsoft.com/software-download/windows10) to update your version of Windows.
Enable virtual machine features
install WSL 2 Before , Must enable “ Virtual machine platform ” Optional features . Computers need Virtualization capabilities To use this function .
Open as administrator PowerShell And run :
PowerShell Copy
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Restart Computer , To complete the WSL Install and update to WSL 2.
This article has participated in 「 New people's creation ceremony 」 Activities , Start the road of nuggets creation together
download Linux Kernel update package
- Download the latest package :
Apply to x64 The computer WSL2 Linux Kernel update package
remarks
If you are using ARM64 Computer , Please download ARM64 package . If you're not sure about your computer type , Please open the command prompt or PowerShell, And enter the :systeminfo | find "System Type". Caveat: In the non English version Windows On , You may have to modify the search text , Yes “System Type” String translation . You may also need to escape quotation marks for find command . for example , In the German versionsysteminfo | find '"Systemtyp"'.
- Run the update package you downloaded in the previous step . ( Double click to run - You will be prompted to provide elevated permissions , choice “ yes ” To approve this installation .)
After installation , Please proceed to the next step - Installing a new Linux At the time of distribution , take WSL 2 Set to default version . ( If you want a new Linux The installation is set to WSL 1, Please skip this step .)
take WSL2 Set to default version
wsl --set-default-version 2
See
Old edition WSL Manual installation steps for | Microsoft Docs
版权声明
本文为[Boy Baoding]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204212158385463.html
边栏推荐
- Online CSV to yaml tool
- [basic problems of function implementation C language]
- 数据库设计与实现
- During iPhone test, the picture of custom tabbar will slide along the screen
- TCP / IP protocol
- ISMAR 2022 journal paper (tvcg) contribution exchange
- mybtais的mapper中使用@Select注解使用if
- The third floor of leetcode Langya list - the container with the most water
- Unity3d C uses the offset of material map to realize the function of unlimited moving background effect of 2D game single background image (including source code)
- ROS机器人从起点到终点(四)蓝桥云实践复现
猜你喜欢

MySQL最全整理(面试题+笔记+导图),面试大厂不再被MySql难倒

Thread safety for the first time. This article is enough

Lenovo announced the new progress of ESG: it promised that 100% of all computer products would contain recycled plastics by 2025

Alibaba cloud OSS, user authentication and patient

Leetcode0785. 判断二分图(medium,二分图,DFS)

Oracle查询执行计划

Seven schemes of implementing distributed lock based on redis

The third floor of leetcode Langya list - the container with the most water

How to realize the automatic message sending function of wechat with vbs

【JVM】10道不得不会的JVM面试题
随机推荐
GD32F103学习笔记(8)——ADC接口使用
期货在网上直接开户是否安全?
mysql 模糊搜索与校对规则
什么?你们公司还没有将JVM初始和最大堆内存大小设置为相同值?
软件测试分类与软件测试的原则
Ffmpeg serial 1 - environment construction
Hard core strength, recognized by many parties | cloud expansion technology, as the core manufacturer of RPA, was selected into the 2022 China RPA procurement guide
Jupyter notebook has no run button
Travel notes of provincial election and later basic planning
一加连发两款耳机产品:充电10分钟 听歌20小时
3D printer cr-10s cr10s Pro ender-3 Ender 3pro Ender 5 how to modify the pulse value or transmission value E of the extrusion motor when replacing the BMG extruder
What should you do to benefit from digital transformation?
MySQL最全整理(面试题+笔记+导图),面试大厂不再被MySql难倒
kotlin核心编程,Android开发面试解答之Handler
Use try-with-resources or close this “FileOutputStream“
IDEA通过Jedis操作Linux上的Redis;Failed to connect to any host resolved for DNS name问题
【函数实现c语言基础问题】
Mswep data NC format to TIF format
Mypinpad and smartpesa merged to become the global leader in mobile payment acceptance
【ES6】Iterator和forof循环