16

Ubuntu can run traditional .exe applications with Wine. However, I do have some UWP (appx) apps from the Windows Store that I'd like to run. I'm currently using a dual-boot setup with Win10 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 (Universal Windows Platform) apps. Is there any other virtual setup (like WINE) that can run UWP apps, besides just running it in VMware or Virtualbox?

  • 5
    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. – Panther Jan 3 '18 at 13:32
  • 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. – Rinzwind Jan 3 '18 at 17:54
  • 1
    One older question on Stackoverflow can answer this too. Link – androbin Mar 15 '18 at 19:28
  • 11
    Possible duplicate of How to run Windows Store Apps on Linux – user47206 Jan 30 '19 at 19:09
  • 3
    @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. – Eliah Kagan Sep 1 '19 at 17:15
3

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.

2

No. Currently, there is no way to do this except from running in a virtual machine. The number of people who request this feature is extremely low and the number of people with the skill and mostly TIME to do this is close to zero I think.

0

You cannot because Wine only supports Windows XP , Vista and 7 API not Windows 10 . So you cannot use UWP which was introduced in Windows 10.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.