首先,需要在windows功能中开启相关功能。重启,在微软商店搜索Ubuntu选择合适的版本,安装完毕后启动按照提示创建即可。 设置默认版本为WSL2并检查WSL版本 wsl --set-version Ubuntu-22.042wsl --set-default-version2wsl --list --verbose 默认是安装在C盘,可以转移到其他盘和文件夹。 wsl --export Ubuntu-22.04 D:...
命令wsl --install -d Ubuntu-20.04 等待下载完成,安装,或者可以在windows商店中下载 Ubuntu 坑,如果安装失败,极有可能你执行了 “wsl --set-default-version 2” 将WSL 版本设置为 2 ,请改为 “wsl --set-default-version 1” 。 3.Docker Use The WSL 2 based engine 启动一直报错 例如Failed to deploy...
一、安装 Ubuntu20.041、搜索“启用或关闭 Windows 功能”勾选以下内容: 重启后生效2、打开 PowerShell 或 Windows 命令提示符以管理员身份运行3、安装 WSLwsl --install #将默认版本设置为WSL 2 wsl --set-defau…
wsl --install -d Ubuntu 5.(可选)键入以下命令以查看所有可用的发行版,然后按回车键: wsl --list --online 6.(可选)键入以下命令以在 Windows 11 上安装特定版本的 Ubuntu,然后按回车键: wsl --install -d UBUNTU-VERSION 在命令中,将 "UBUNTU-VERSION" 更改为您想要安装的版本名称。此示例安装版本 24....
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.
docker客户端显示WSL KERNEL VERSION TOO LOW docker wsl2 在笔记本上主要还是想以轻量、方便为主,所以采用的是在WSL2中使用docker的这么一个方案。 WSL2 我笔记本原来是预装的是WIN10家庭版,需要先升级为专业版,并加入windows预览体验计划。更新完之后,安装WSL,我选择的是Ubuntu16.04,并且升级到WSL2[1],就可以...
Ubuntu可以不用最新版,20.04即可 第一次尝试安装并添加环境变量# 官网安装,选择自己的版本 https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local wget <https://developer.download.nvidia.com/compute/cuda/repos/ubuntu...
You will need version 0.67.6+ of WSL to enable systemd. Check your WSL version with command wsl --version. If you need to update, you can grab the latest version of WSL in the Microsoft Store. Learn more in blog announcement.To enable systemd, open your wsl.conf file in a text ...
This change is only available in the Microsoft Store version of WSL version 0.67.6 and higher. You can check your version number by runningwsl--version. If that command fails then you are running the in-Windows version of WSL and need toupgrade to the Store version. ...