6

With the last update of Windows 10 (Fall Creator's Update), we can install Ubuntu on Windows, which is a Windows Store application. We can enable Windows Subsystem for Linux (WSL) via PowerShell with a command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

With the spirit of Dotfiles, I would like to install Ubuntu on Windows with PowerShell. At first hand, I thought that it could be possible with the Appx Module in PowerShell. With some experiments, it seems to apply on already installed applications.

So the question is: how to install Ubuntu on Windows 10 with PowerShell, or more generally, how to install an app from Windows Store with PowerShell?

sgy
  • 161
  • 1
  • 1
  • 2

1 Answers1

3

Try this for Ubuntu:

https://docs.microsoft.com/en-us/windows/wsl/install-on-server

Installing apps with powershell:

https://social.technet.microsoft.com/Forums/windows/en-US/e5c5a26c-e8ba-439d-a0c0-074b475e0f1b/install-windows-store-apps-from-powershell?forum=w8itprogeneral

Install Windows Store App itself

anon
  • 39
  • 2
  • 1
    Welcome to Super User! On this Q&A site we try to provide [good answers](https://superuser.com/help/how-to-answer) to questions people post. A part of this is including the answer in your post, [instead of simply providing a link to another page that might answer the question](https://meta.stackexchange.com/questions/8231/are-answers-that-just-contain-links-elsewhere-really-good-answers/8259#8259). Please edit your answer to include the actual solution to the posted question. Refer to [How to reference material written by others](https://superuser.com/help/referencing) for help. – Cas Jan 10 '18 at 12:30