是否可以在没有 Microsoft Store 的情况下在 Windows 10 WSL 中安装 Ubuntu?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/52512026/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 20:05:15  来源:igfitidea点击:

Is it possible install Ubuntu in Windows 10 WSL without Microsoft Store?

windowswindows-subsystem-for-linux

提问by bigspawn

On my work are not allowed to install apps from the Microsoft Store. Yes, this is a bank, that not supported Windows 10 (it's hell).

在我的工作中不允许从 Microsoft Store 安装应用程序。是的,这是一家不支持 Windows 10 的银行(太糟糕了)。

Is it possible to install Ubuntu in WSL without downloading it from the app store?

是否可以在 WSL 中安装 Ubuntu 而无需从应用商店下载?

Or is it possible to download Ubuntu app without Microsoft Store and then install it?

或者是否可以在没有 Microsoft Store 的情况下下载 Ubuntu 应用程序然后安装它?

回答by Harun

Yes, it is possible to download the app without the Store. Some available distributions are listed in the Manual Installation section of the MS guide (https://docs.microsoft.com/en-us/windows/wsl/install-manual)

是的,可以在没有商店的情况下下载该应用程序。MS 指南的“手动安装”部分列出了一些可用的发行版 ( https://docs.microsoft.com/en-us/windows/wsl/install-manual)

The actual manual installation instructions are hidden in the Server Install section of the manual (https://docs.microsoft.com/en-us/windows/wsl/install-on-server), but my understanding is that you can just run the .appx file you downloaded and it should work anyway.

实际的手动安装说明隐藏在手册的服务器安装部分(https://docs.microsoft.com/en-us/windows/wsl/install-on-server),但我的理解是您可以运行您下载的 .appx 文件,它应该可以正常工作。

Whether it's wise to install WSL/Ubuntu on a work computer that you don't control is another question, but one which only you can answer.

在您无法控制的工作计算机上安装 WSL/Ubuntu 是否明智是另一个问题,但只有您可以回答。

回答by Gnana Vikas

Yes, It is possible to install Ubuntu without opening the store.

是的,可以在不打开商店的情况下安装 Ubuntu。

  1. Open settings in windows and enable developer mode.

  2. Once the developer mode is enabled, Go to Windows search and Type Bash.

  3. It will open Bash command prompt. Allow it to download Ubuntu automatically.

  1. 在 Windows 中打开设置并启用开发人员模式。

  2. 启用开发人员模式后,转到 Windows 搜索并键入 Bash。

  3. 它将打开 Bash 命令提示符。允许它自动下载 Ubuntu。

Cheers!!!

干杯!!!