要在Windows 10(1903,1909)上启用虚拟机平台,请以管理员身份打开 PowerShell 并运行: Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart 为了确保所有相关部件都整齐到位,您应该在此时重启系统,否则可能会发现事情没按预期进行。 第3 步,设置 WSL 2 为默认值 以管理员身份打开 Pow...
至此,在windows中配置 WSL2 与 Debian 的全部流程就结束了。现在的 Debian 有了复制粘贴、国内镜像源、GUI、中文字体与输入法,可以的在Debian上做自己其他想做的事情了。 祝好。 ref: How to Install WSL2 on Windows 10 (Updated) - visited on 2024-01-09 Microsoft - 如何使用 WSL 在 Windows 上安装 L...
在Windows 10计算机上,打开Settings应用程序。 选择“应用程序设置”类别。 浏览到应用程序>程序和功能>打开或关闭Windows功能。 在可用的复选框列表中,向下滚动,找到Windows Subsystem For Linux选项。 取消选中与Windows Subsystem相对应的复选框。 点击“确定”,然后重新启动Windows 10设备。 使用PowerShell卸载或禁用W...
Add `-ac` to Additionalparametersfor VcXsrv 下一步,保存当前配置到开机启动项,Save configuration on startup folder, location C:\Users\"YOUR_USERNAME"\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (don't forget to place YOUR_USERNAME) (WSL-Ubuntu)执行下面,并加到~/.bashrc里。下面...
wsl --install -d Ubuntu-20.04 // 安装Ubuntu-20.04 安装方式2-图形化(windows store) 启动【Windows Store】并搜索Ubuntu,然后选择要安装的系统 安装完成之后,点击【启动】按钮(图片-侵删): 第一次打开速度稍微慢一些,大约 1 分钟左右吧,提示设置用户名、密码,然后就进入我们熟悉的窗口了(图片-侵删): ...
wsl --install 1.安装中参考的文章 作为一个完全的小白,安装过程中碰到了很多的困难,多亏了一下的几篇文章,才能安装成功。我写这个的主要目的是记录一下。而且现在windows11的wsl比win10方便多了,跟方便用wsl可以使用win11。 Install Windows Subsystem for Linux on a Non-System Drive (kontext.tech) ...
To use Linux on your Windows PC first you need to install WSL 2. Here's how to do just that on both Windows 10 and 11 in minutes.
Jan 31, 2021 Just a note for those who are trying now on Windows Server Preview (actual build 20289). The WSL2 bits are broken from build 20251 onward. Look here to download the last build where WSL2 works and don't do an in-place upgrade. ...
https://docs.microsoft.com/zh-cn/windows/wsl/install#update-to-wsl-2 必须运行 Windows 10 版本 2004 及更高版本(内部版本 19041 及更高版本)或 Windows 11。 WSL2(Windows Subsystem for Linux )是Windows 10上的一个工具,允许开发人员在Windows上直接运行Linux环境,使得在Windows系统上进行Linux的原生体验...