在 Windows 10 上安装 Ubuntu 子系统 [英] Installation of Ubuntu subsystem on Windows 10

查看:38
本文介绍了在 Windows 10 上安装 Ubuntu 子系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在完成所有安装过程后,我收到以下错误:

我已经通过 PowerShell 手动安装了 ubuntu.

解决方案

当我输入 Ubuntu 并按回车键时

ubuntu 不是启动 bash 的命令.<小时>像这样启动适用于 Windows 的 Bash:

  1. Windows 运行

    • Win + r -> bash
  2. CMD

    1. 打开 cmd 提示
      • 开始 -> cmd
      • Win + r -> cmd
    2. 运行 bash

<小时>安装说明:

  1. 启用 Linux 子系统(docs)
  2. 从 Windows 应用商店安装 ubuntu(链接)
  3. 运行 bash(如上)并安装 ubuntu

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:

  1. Windows Run

    • Win + r -> bash
  2. CMD

    1. Open cmd promt
      • start -> cmd
      • Win + r -> cmd
    2. Run bash


Installation notes:

  1. Enable Linux sub system (docs)
  2. Install ubuntu from the Windows Store (link)
  3. Run bash (as above) and install ubuntu

这篇关于在 Windows 10 上安装 Ubuntu 子系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆