如何设置Win10默认启动的Linux子系统版本,启动指定Linux发行版
时间:2023-07-29 12:34:09
首先,我们查看一下当前默认启动的Linux发行版是什么?方法是:
以管理员身份运行命令提示符,运行命令 wslconfig /l ,即可返回“适用于Linux的Windows子系统”列表。如图:
其中后面标记默认的即为当前默认启动的Linux版本。你可以看到MS酋长的标记默认的是 Legacy ,这实际上就是最早期的“由Canonical分发的Ubuntu”版本。
现在假如说我想把默认版本修改为 Debian ,那么只需运行以下命令即可:
wslconfig /setdefault debian
然后再使用 wslconfig /l 命令查看,就会发现默认启动的Linux版本已经变成 Debian 了。
以后再运行“wsl”或“bash”命令,默认启动的就是 Debian 了。
启动指定的Linux发行版/同时运行多个Linux发行版
方法一:通过开始菜单中的快捷方式启动
在通过Microsoft Store安装Linux发行版时,安装完成后,会显示一个“固定到开始菜单”按钮,点击即可在开始菜单中显示该Linux发行版的快捷方式和磁贴。如图:
点击某个Linux发行版快捷方式或磁贴即可启动该版本。可以启动多个Linux发行版并排运行它们。
方法二:运行Linux发行版名称
在命令提示符中运行某个Linux发行版的名称即可启动该版本。如图:
多开命令提示符窗口即可实现同时运行多个Linux发行版。
注:openSUSE Leap 42的简写名称为opensuse-42;SUSE Linux Enterprise Server 12的简写名称为sles-12;Debian GNU/Linux的简写名称为debian。
标签:如何,设置,Win10,默认,启动,的,Linux,子系统
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Excel中rank函数怎么用
2023-01-01 13:04:36
![](https://img.aspxhome.com/file/2023/4/a157074_0s.jpg)
wps如何插入页码
2023-11-21 04:54:25
Excel不能加载宏怎么办?
2023-05-05 11:58:26
![](https://img.aspxhome.com/file/2023/9/38389_0s.jpg)
优惠倒计时 以后升Win10就要花钱了
2023-09-28 09:08:47
![](https://img.aspxhome.com/file/2023/5/a315271_0s.jpg)
Win7隐藏文件怎么显示和隐藏 Win7隐藏和显示隐藏的方法图文教程
2022-11-22 07:09:41
![](https://img.aspxhome.com/file/2023/28/a244368_0s.png)
edge浏览器开启flash方法?edge如何开启flash
2023-08-19 12:09:31
![](https://img.aspxhome.com/file/2023/1/47121_0s.jpg)
让你越狱的 6 大理由 服不服?
2023-09-13 23:44:41
![](https://img.aspxhome.com/file/2023/1/a200751_0s.gif)
WinXP系统开机提示“windwos不能加载用户的配置文件”的故障分析及解决方法
2023-06-20 10:17:53
![](https://img.aspxhome.com/file/2023/28/a246668_0s.jpg)
如何让Mac电脑自动填充验证码?
2022-12-01 11:00:56
![](https://img.aspxhome.com/file/2023/0/a207690_0s.jpeg)
uos怎么截图? 统信uos系统截取整个屏幕或者部分截图的技巧
2022-08-25 14:43:13
![](https://img.aspxhome.com/file/2023/5/a319051_0s.jpg)
Excel如何快速输入1到30这样的数字序列
2022-05-21 09:11:03
![](https://img.aspxhome.com/file/2023/7/a153757_0s.png)
Win7系统ug10.0安装成功但无法启动的具体解决方法
2023-02-24 03:48:08
![](https://img.aspxhome.com/file/2023/27/a230311_0s.jpg)
excel表格加密设置的教程
2023-03-05 17:59:29
word文字间隙怎么调整?
2022-05-31 16:44:15
![](https://img.aspxhome.com/file/2023/1/34771_0s.gif)
DOC文件转换成PDF文件
2023-05-27 20:05:13
![](https://img.aspxhome.com/file/2023/6/32176_0s.jpg)
win7电脑找不到taskmgr.exe文件如何解决?
2023-03-06 18:50:29
![](https://img.aspxhome.com/file/2023/4/a310390_0s.jpg)
如何安装MySql?MySql安装教程
2022-10-21 15:11:35
![](https://img.aspxhome.com/file/2023/9/a340889_0s.jpg)
在Excel中怎么截图?几种简单实用的截屏方法
2023-10-11 06:55:38
![](https://img.aspxhome.com/file/2023/8/41418_0s.jpg)
如何在Word2010中插入水印
2023-12-05 10:08:31
![](https://img.aspxhome.com/file/2023/6/19626_0s.jpg)
office 2016官网下载地址 office2016破解版下载
2023-08-13 03:10:48
![](https://img.aspxhome.com/file/2023/0/15650_0s.png)