在 Windows 10 上安装 Ubuntu 子系统 [英] Installation of Ubuntu subsystem on Windows 10
本文介绍了在 Windows 10 上安装 Ubuntu 子系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在完成所有安装过程后,我收到以下错误:
我已经通过 PowerShell 手动安装了 ubuntu.
解决方案
当我输入 Ubuntu 并按回车键时
ubuntu
不是启动 bash 的命令.<小时>像这样启动适用于 Windows 的 Bash:
Windows 运行
- Win + r ->
bash
- Win + r ->
CMD
- 打开
cmd
提示- 开始 -> cmd
- Win + r ->
cmd
- 运行
bash
- 打开
<小时>安装说明:
After going through all the installation process I get the following error:
I have installed ubuntu manually via PowerShell. https://docs.microsoft.com/en-us/windows/wsl/install-manual
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing
When I type in Ubuntu and hit enter, I receive a message that the service has not been started.
Edited: When I run in command line (cmd) bash
解决方案
When I type in Ubuntu and hit enter
ubuntu
is not the command to start bash.
Start Bash for Windows like so:
Windows Run
- Win + r ->
bash
- Win + r ->
CMD
- Open
cmd
promt- start -> cmd
- Win + r ->
cmd
- Run
bash
- Open
Installation notes:
- Enable Linux sub system (docs)
- Install ubuntu from the Windows Store (link)
- Run bash (as above) and install ubuntu
这篇关于在 Windows 10 上安装 Ubuntu 子系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文