10

WSL 2 Linux 内核也将通过 Windows Update 更新

 3 years ago
source link: https://zhuanlan.zhihu.com/p/113262404
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

WSL 2 Linux 内核也将通过 Windows Update 更新

Obsessed with landscapes

WSL 2 将于 Windows 10 2004 正式全面可用。微软也为 WSL 2 带来了新的内核更新方式:Windows Update。

v2-4cd23a705eaccb68f41333d35866c80e_720w.jpg

在 Windows 10 内置的“更新”页面中,可以通过搜索 “检查更新”来搜索可选更新,届时会有类似于 WSL 2 内核更新包的推送可以安装(与驱动、Defender 更新的方式一样)。

除此之外,也可以通过命令行手动更新 WSL 2 内核,只需要在 Windows Terminal 里输入以下命令:

wsl (If a WSL2 distro is your default distro)
wsl --set-version <Distro> 2, – wsl --set-default-version 2
wsl --import and wsl --export targeting WSL2

v2-0489663f4ebd480e8bdce0dd3fc1c579_720w.jpg

届时,就可以手动前往提示的网站 https://aka.ms/wsl2kernel. 下载内核更新包!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK