Install microsoft store on linux

How to run Windows Store Apps on Linux

I am eager to run Windows Store apps (not regular Win32 applications) on my Kubuntu 18.10. Can I run it with Wine? If not, then how should I?

This question has already been asked on this site, but regrettably received no answers. Similar question can also be found on Super User.

3 Answers 3

(this is a duplicate of my own answer from Is it possible to run Windows 10 UWP apps on Ubuntu?, since this question is basically the same)

Running UWP apps is possible, at least with some apps. I’ve successfully run the Trello UWP app (which is only available from the Microsoft Store).

First, you need to acquire the .appx file for the UWP app. One way to do this without Windows or the Microsoft Store is to use the this site: https://store.rg-adguard.net/

Paste the Microsoft Store URL of the app into the site. For example, the Trello app’s URL is: https://www.microsoft.com/en-us/p/trello/9nblggh4xxvw

This gives you links to all of the files available through the Microsoft Store. You only need the .appx file, which may be available as multiple versions (e.g. x86 and x64).

Chrome doesn’t want to download the files simply by clicking the links. This made the site feel a bit sketchy at first. In Chrome’s DevTools console, Chrome says that it’s not downloading the file, because the Microsoft Store URL uses http://, and the site uses https://. But since the file is coming straight from microsoft.com, it feels safe to me.

Right-clicking the link, selecting «Save link as», and choosing «Keep» allows you to download the file despite Chrome’s objections.

Once you have the .appx file, you can extract it. It’s just a regular zip file, so run something like unzip -d output-dir file.appx or atool -x file.appx .

The extracted files should have a directory called «app», which should have the executable and other files for the app.

For the Trello app, just running wine Trello.exe inside the «app» directory worked for me. But other applications might not work straight away, if something more complex happens during their installation.

Читайте также:  You have stopped jobs linux

Источник

Русские Блоги

Когда Microsoft Store не работает, установите Ubuntu (wsl) на win10

проблема:

Я хочу использовать Ubuntu на платформе Windows (некоторые пакеты python необходимо запустить, а затем скомпилировать), но выделенный для лаборатории персональный компьютер — это слишком отстой, а запуск виртуальной машины VMware — тупик.

Я тоже попробовал.Я понял, что запускаю Linux на Windows через Cygwin, затем открыл проект в каталоге под системой linux с помощью Pycharm (версия win), а затем компилятор использовал метод Python 3.6 под Cygwin, но это не удалось. (Лично я считаю, что эта идея очень хорошая, но потом она не сработает, надеюсь, люди с высокими идеалами смогут ее реализовать)

Итак, ища его снова и снова, я подумал об использовании wsl (подсистема Windows для Linux). В сетиУчебникиМногие, но когда я пошел в Microsoft Store для загрузки, возникла проблема (это должна быть проблема сети в лаборатории).

Обнаружил проблему 0x00000194, только чтобы найти способ не устанавливать через Microsoft Store.

решить:

1 Откройте Powershell, выполните команду загрузки и загрузите Ubuntu.

PS C:\WINDOWS\system32> Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing

Эта загрузка ждет медленно, около 200Мб. Тогда место загрузки по умолчанию находится в текущем каталоге, а Powershell по умолчанию C: \ WINDOWS \ system32.

2 Загруженный файл имеет формат appx, измените его на формат zip, а затем распакуйте

PS C:\WINDOWS\system32> Rename-Item Ubuntu.appx Ubuntu1604.zip PS C:\WINDOWS\system32> Expand-Archive Ubuntu1604.zip Ubuntu1604

3 Войдите в каталог Ubuntu1604, посмотрите ls и запустите ubuntu

PS C:\WINDOWS\system32> cd Ubuntu1604 PS C:\WINDOWS\system32\Ubuntu1604> ls PS C:\WINDOWS\system32\Ubuntu1604> .\ubuntu.exe

Просто введите пароль учетной записи и подтвердите пароль самостоятельно

Источник

Установка Ubuntu 20.04 LTS из Microsoft Store.

Я решился. И скачал. И нажал «Установить». Но, вместо процесса установки увидел вот это:

«Installing, this may take a few minutes… WslRegisterDistribution failed with error: 0x8007019e The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again. See https://aka.ms/wslinstall for details. Press any key to continue…»

«Установка, это может занять несколько минут … Сбой WslRegisterDistribution: 0x8007019e Дополнительный компонент Windows Subsystem for Linux не включен. Пожалуйста, включите его и попробуйте снова. Смотрите https://aka.ms/wslinstall для деталей. Нажмите любую клавишу чтобы продолжить..»

«Установка подсистемы Windows для Linux Перед установкой дистрибутивов Linux в Windows необходимо включить дополнительный компонент «Подсистема Windows для Linux». Запустите PowerShell с правами администратора и выполните следующую команду. PowerShellКопировать dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Чтобы установить только WSL 1, необходимо перезагрузить компьютер и перейти к пункту Install your Linux distribution of choice (Установить дистрибутив Linux), в противном случае дождитесь перезапуска и переходите к обновлению до WSL 2. »

Скопировал «dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart»

Читайте также:  Linux change to tty

И перезагрузил операционку Windows 10.

Но Ubuntu 20.04 LTS так и не установилась.

Источник

Is it possible to run Windows 10 UWP apps on Ubuntu?

Ubuntu is able to run traditional .exe applications with Wine. However, I do have some Universal Windows Platform (hereafter UWP) apps (installed by .appx and .msix ) from the Windows Store that I would like to run. I’m currently using a dual-boot setup with Windows 10 and Ubuntu 16.04, and I mostly only use Windows to run UWP apps. I’d really like to use Ubuntu for everything, without having to reboot over and over again. As of now, WINE doesn’t support UWP apps. Is there any other virtual setup (like WINE) that can run UWP apps, besides just running it in VMware or VirtualBox?

I think you answered your own question. Linux is not a drop in replacement for windows and if you wish to run windows apps I suggest dual booting, virtualization, or better finding linux apps. Wine does not work for everything and is often complex to configure.

Virtualization should be the 1st choice to explore. It is almost always a better answer than wine. Those apps only run on a normal windows.

@AdityaRadhakrishnan Regarding the direction of duplicate closure, see this meta.SE question and this one on our meta. In this case, your question is of high quality, but it’s unanswered and the other question has an answer. The answer there is useful and likely correct, though it could benefit from some explanation. Hopefully another answer will be posted that either gives a way to do it without virtualization or (far more likely) explains in detail why that is a difficult problem that so far has not been solved.

4 Answers 4

Running UWP apps is possible, at least with some apps. I’ve successfully run the Trello UWP app (which is only available from the Microsoft Store).

First, you need to acquire the .appx file for the UWP app. One way to do this without Windows or the Microsoft Store is to use this site: https://store.rg-adguard.net/

Paste the Microsoft Store URL of the app into the site. For example, the Trello app’s URL is: https://www.microsoft.com/en-us/p/trello/9nblggh4xxvw

This gives you links to all of the files available through the Microsoft Store. You only need the .appx file, which may be available as multiple versions (e.g. x86 and x64).

Chrome doesn’t want to download the files simply by clicking the links. This made the site feel a bit sketchy at first. In Chrome’s DevTools console, Chrome says that it’s not downloading the file, because the Microsoft Store URL uses http://, and the site uses https://. But since the file is coming straight from microsoft.com, it feels safe to me.

Читайте также:  Xerox 3325 драйвер linux

Right-clicking the link, selecting «Save link as», and choosing «Keep» allows you to download the file despite Chrome’s objections.

Once you have the .appx file, you can extract it. It’s just a regular zip file, so run something like unzip -d output-dir file.appx or atool -x file.appx .

The extracted files should have a directory called «app», which should have the executable and other files for the app.

For the Trello app, just running wine Trello.exe inside the «app» directory worked for me. But other applications might not work straight away, if something more complex happens during their installation.

Источник

Установите Linux из Магазина Microsoft в Windows 10.

Если вы используете функцию Bash On Ubuntu в Windows 10, вот вам хорошая новость. После обновления до Windows 10 Fall Creators Update, вы можете установить и запустить несколько дистрибутивов Linux. Для вашего удобства они доступны прямо в магазине Microsoft.

Возможность запуска Linux в Windows 10 обеспечивается функцией WSL. WSL это подсистема Windows для Linux, которая изначально была ограничена только Ubuntu. Подробнее см. В следующей статье:

В последних сборках Windows 10, функция WSL получила множество улучшений. Она больше не требует режима разработчика и может быть включена в Windows Server. Ключевые изменения заключаются в следующем:

  • WSL вышла из бета-версии, название «Bash on Windows» теперь устарело.
  • Возможность установки нескольких дистрибутивов Linux.
  • Возможность установки дистрибутивов Linux с использованием магазина Microsoft.
  • Возможность одновременного запуска нескольких дистрибутивов Linux.
  • Поддержка USB-устройств и портов.

Если вы заинтересованы в установке и запуске дистрибутивов Linux из магазина Microsoft, вот несколько простых инструкций для вас. В Microsoft Store вы можете получить Ubuntu, openSUSE, Debain, Kali Linux, Arch Linux, SUSE Linux Enterprise Server. Так как теперь они могут быть установлены и использоваться в качестве подсистемы Linux. Все ссылки на версии Linux можно найти в конце статьи.

Чтобы установить дистрибутив Linux из магазина Microsoft в Windows 10, выполните следующие действия.

  1. Включите функцию WSL, как описано в статье, упомянутой выше. Коротко, нажмите Win + R и введите optionalfeatures.exe в поле команды «Выполнить». Установите чек бокс напротив элемента «Подсистема Windows для Linux», нажмите кнопку «ОК» и перезапустите систему.

Включите функцию WSL

  1. После перезагрузки откройте Магазин Microsoft и введите в поиск «Linux».
  1. Выберите желаемый дистрибутив Ubuntu, openSUSE, Debain, Kali Linux, Arch Linux, SUSE Linux Enterprise Server, Oracle Linux 7.9

Ubuntu, openSUSE, Debain, Kali Linux, SUSE Linux Enterprise Server в магазине microsoft

Вы также можете установить их все! Вот полезные ссылки на дистрибутивы в магазине microsoft:

Все. Теперь вы можете устанавливать и запускать Ubuntu, openSUSE, Debain, Kali Linux, SUSE Linux Enterprise Server, Oracle Linux 7.9 и Arch Linux рядом друг с другом.

Статьи по теме:

Источник

Оцените статью
Adblock
detector