我们通过《Windows Subsystem for Linux——安装多个相同的操作系统》中介绍的方法导出一台实例。 wsl --import Ubuntu-24.04-New-WSL-Kernel .\Ubuntu-24.04-New-WSL-Kernel .\Ubuntu-24.04-Base 然后登录 wsl -d Ubuntu-24.04-New-WSL-Kernel -u fangliang 更新系统 sudo apt update sudo apt -y upgrade 查看...
而微软给这个 Linux 系统命名为:Windows Subsystem for Linux,而对于有些系统极客而言,这个名字实在太熟悉了,因为在 Windows 7 之前,微软也曾经内置过一个 UNIX 子系统,可以原生运行 UNIX 二进制程序,他的名字叫做:Windows Services for UNIX。 即便如此,对于很多普通用户而言,Windows Subsystem for Linux 也只是尝鲜...
所以便有了Windows Subsystem for Linux(以下简称WSL),这是个基于Linux内核衍生出来的子系统,让开发者们可以在Windows上兼容Ubuntu在内系统的命令和程序,此举让开源社区感受到了微软的爱,而在今日凌晨,微软更是公布更为彻底支持Linux内核的WSL 2。
① 搜索“启用或关闭 Windows 功能”,打开【Windows 功能】,勾选其中的【适用于Linux 的 Windows 子系统】,如下图所示,最后按照提示重新启动操作系统完成WSL 安装。 此外,也可以以管理员身份运行 PowerShell 并使用如下命令安装 WSL: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-WindowsSubsystem-Linux...
适用于 Linux 的 Windows 子系统 (WSL) 使 Windows 用户可以访问数以千计的免费软件包和开源工具。 以前,这需要在专用的双引导 Linux 环境中设置虚拟机或重新启动计算机。 但是,使用 WSL,只需单击几下即可。 Windows Subsystem for Linux 什么是适用于 Linux 的 Windows 子系统?
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 或者:控制面板->程序和功能->启用或关闭Windows功能->勾选 适用于Linux的Windows子系统 2. 重启电脑 3. 打开应用商城搜索“WSL”,可根据自己需求选择安装一个或多个Linux系统: ...
微软的Windows Subsystem forLinux(WSL)是一套非常有趣的子系统,它基本上可以让你在Windows 11(或Windows 10)中轻松运行一个Linux发行版(并且支持执行其命令)。最重要的是,你可以直接从微软商店安装这些发行版。该商店中也有许多流行的基于Linux的操作系统,如Kali和Oracle。
而微软给这个 Linux 系统命名为:Windows Subsystem for Linux,而对于有些系统极客而言,这个名字实在太熟悉了,因为在 Windows 7 之前,微软也曾经内置过一个 UNIX 子系统,可以原生运行 UNIX 二进制程序,他的名字叫做:Windows Services for UNIX。 即便如此,对于很多普通用户而言,Windows Subsystem for Linux 也只是尝鲜...
能在Windows 上直接运行 Linux Bash 命令自然是好的,对于有些只有 Linux 版本的开源软件,使用 WSL 也免去了安装虚拟机的麻烦。 经过测试,有些包安装时会出问题,但应该会慢慢变好的。 1. 启用 WSL 功能 在安装任何 Linux 发行版本之前,必须确保启用 Windows Subsystem for Linux 可选功能。
The underlying technology enabling the Windows Subsystem for LinuxThis blog has moved to the Windows Command Line blogThis blog has been archived, and is no longer active. If you would like to keep up with the latest...Date: 10/03/2019File...