
理解wsl1 vs wsl2
发布日期:2021-05-07 14:23:29
浏览次数:28
分类:精选文章
本文共 864 字,大约阅读时间需要 2 分钟。
-
Overview
The Windows Subsytem for Linux lets developers run a GNU/Linux environment – including most command-line tools, utilities, and applications – directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboost setup.
我以前以为terminal里启动的是wsl,这个理解有误,启动的是Linux distribution,这个distribution是运行在wsl这个window服务之上的一个软件.
-
What is WSL 2
WSL 2
is a new version of the Windows Subsystem for Linux architecture that powers the Windows Subsystem for Linux to runELF64
Linux binaries on Windows.Its primary goals are to increase file system performance, as well as adding full system call compatibility.
-
Update to WSL2
提到在windows powershell 中运行
wsl -l -v
显示:适用于 Linux 的 Windows 子系统没有已安装的分发版。
可以通过访问 Microsoft Store 来安装分发版: https://aka.ms/wslstore不知道是不是我理解有误.
不过在
cmd
中运行wsl -l -v
却可以看到,也可以在这里将1转换为2.wsl --set-version Ubuntu-18.04 2
-
References
发表评论
最新留言
关注你微信了!
[***.104.42.241]2025年04月17日 03时36分31秒
关于作者

喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
无序列表 - 链表
2021-05-09
Matplotlib绘制漫威英雄战力图,带你飞起来!
2021-05-09
机器学习是什么
2021-05-09
《小王子》里一些后知后觉的道理
2021-05-09
《你当像鸟飞往你的山》总结
2021-05-09
《我是猫》总结
2021-05-09
《抗糖化书》总结
2021-05-09
apache虚拟主机配置
2021-05-09
PHP官方网站及PHP手册
2021-05-09
mcrypt加密以及解密过程
2021-05-09
go等待N个线程完成操作总结
2021-05-09
ReactJs入门教程-精华版
2021-05-09
Python 之网络式编程
2021-05-09
MySql5.5安装步骤及MySql_Front视图配置
2021-05-09
Java内存模型(JMM)
2021-05-09
AQS相关
2021-05-09
WCF学习之旅—第三个示例之一(二十七)
2021-05-09
java ThreadPoolExecutor初探
2021-05-09