2、确认“Windows Subsystem for Linux(Beta)”功能为勾选状态 在开始菜单中搜索并打开“启用或关闭 Windows功能”,然后勾选其中的“Windows Subsystem forLinux(Beta)”选项 3、卸载linux子系统 打开命令提示符,输入lxrun /uninstall /full,然后根据提示输入y即可开始卸载。
First you need to know which distro is installed by using wslconfig /l From the list choose the distro (e.g. Ubuntu) you want to uninstall and type the command wslconfig /u Ubuntu https://superuser.com/questions/1317883/completely-uninstall-the-subsystem-for-linux-on-win10...
Windows 系统还原后出现的安装问题 删除%windir%\System32\Tasks\Microsoft\Windows\Windows Subsystem for Linux文件夹。 注意:如果可选功能已完全安装且工作正常,请不要执行此操作。 启用WSL 可选功能(如果尚未这样做) 重新启动 lxrun /uninstall /full
Windows 系统还原后出现的安装问题 删除%windir%\System32\Tasks\Microsoft\Windows\Windows Subsystem for Linux文件夹。 注意:如果可选功能已完全安装且工作正常,请不要执行此操作。 启用WSL 可选功能(如果尚未这样做) 重新启动 lxrun /uninstall /full
WSL, 即Windows Subsystem for Linux,它是 Win10.1709 起提供的新功能,能够让我们在 Windows 10 上获得一个真实的 Linux 应用层运行环境。Linux 真机上的 64-bit ELF 可执行文件能够在 WSL 环境中直接运行,这比 cygwin 那种 Unix C API 层面的模拟大大前进了一步。
打开一个Windows Powershell终端,输入以下命令: cd'{Path\to\LxRunOffline}'.\LxRunOffline.exei-n'{NameOfWSL}'-d'{InstallPath}'-f'{DownloadedFile}' LxRunOffline的用法: Supported actions are: l, list List all installed distributions. gd, get-default Get the default distribution, which is used by...
I installed "Bash on Ubuntu on Windows" and used it for months. Then there comes the store app "Ubuntu", which I installed, and worked. Now I want to uninstall the old "Bash on Ubuntu on Windows", so I run: C:\WINDOWS\system32>lxrun /uni...
请确保已启用适用于 Linux 的 Windows 子系统,并且你使用的是 Windows 内部版本 18362 或更高版本。 若要启用 WSL,请在 PowerShell 提示符下以具有管理员权限的身份运行此命令:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux。
打开「控制面板」-「卸载程序」-点击左侧的「启用或关闭 Windows 功能」- 在弹出的窗口中勾选「Windows subsystem for Linux(Beta)」组件进行安装。 如果想偷懒的话,可以直接在 PowerShell 中执行如下命令启用 Windows subsystem for Linux 功能: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-...
输入:lxrun /uninstall 就可以开始卸载原来的Linux子系统了。 C:\Users\admin>lxrun /uninstall Warning: lxrun.exe is only used to configure the legacy Windows Subsystem for Linux distribution. Distributions can be installed by visiting the Microsoft Store: ...