WSL:修订间差异

删除9字节 、​ 2022年12月31日 (星期六)
→‎WSL2:​ fix typo
(init)
 
→‎WSL2:​ fix typo
第1行: 第1行:
WSL可以很好的让不愿意折腾双系统的人在Windows上跑Linux软件,比如早期不支持Windows的raxml-ng。
WSL可以很好的让不愿意折腾双系统的人在Windows上跑Linux软件,比如早期不支持Windows的raxml-ng。
==安装==
==安装==
<ul><li><p>https://insider.windows.com/getting-started 点击注册,之后升级windows10</p></li><li><p>添加一个cmd快捷方式,以管理员权限开始</p><p>dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart</p></li><li><p>重启</p></li></ul>
<ul><li><p>https://insider.windows.com/getting-started 点击注册,之后升级windows10</p></li>
<p>添加一个cmd快捷方式,以管理员权限开始</p>
<pre>dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart  
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart</pre>
<p>重启</p>
</ul>
==WSL2==
==WSL2==
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi 下载并运行<pre>wsl --set-default-version 2 //设为默认版本</pre>
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi 下载并运行<pre>wsl --set-default-version 2 //设为默认版本</pre>