this post was submitted on 30 Jul 2026
25 points (93.1% liked)

No Stupid Questions

49175 readers
837 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 3 years ago
MODERATORS
 

Is there a possibility and I'm not talking about breaking patents or anything like that, but I'm talking about a possibility technically, to have a Linux OS that can run Windows 11 apps natively?

No bottles or ports, just download an EXE file and run it.

top 50 comments
sorted by: hot top controversial new old
[–] Apytele@sh.itjust.works 1 points 4 hours ago

Everything everybody else said but also for a noob user, the window manager matters a lot. It's the part of the OS that renders the graphical user interface (GUI - menus and title bars and everything). Some are super basic (and often very lightweight / snappy). But KDE (super SUPER configurable) has a button for EVERYTHING. And because it's so configurable I almost guarantee someone's made a configuration that mimics widows aesthetics and interface, and that might make things a little easier for you until you're ready to dive in a little deeper. And KDE used to be way too intensive for most computers but most modern ones can run it easily.

[–] draco_aeneus@mander.xyz 13 points 12 hours ago (2 children)

So, both Linux and Windows comes with a component called the "Kernel" (technically, Linux is the kernel, and the OS is something like Ubuntu, Fedora, etc...). This Kernel sits between the actual hardware and the rest of the operating system. It is responsible for things taking your app and loading it into memory, then handing the starting point to the CPU, things like this.

Since both of these kernels are developed independently, and basically from scratch, they work quite differently. When a program (app) is launched, the operating system needs to know a lot of small details in order to actually run it. What it needs to know and how to find it is quite different between Linux and Windows. Windows "Portable Executable" files (.exe files), and linux uses Executable and Linkable Format files. Your idea would be to simply re-arrange and augment the data in this header so it executes on the other platform, right?

There is a major wrinkle with this though, and that is the system libraries. Both the OSes have functionality to make it easier to write applications, provided by the OS. Things like sound libraries to write sound to the speakers, or graphics APIs so the application can draw to the screen. For Linux running on Windows, you can just look at what Linux provides and emulate that, or grab the source code and port that to Windows. However, the reverse is not so easy, because Windows is closed-source. Rebuilding every windows API from scratch is quite difficult, and made harder because the architecture is different, and solutions that are easy to provide in Windows might be quite hard in Linux.

It's this library gap where the value of Wine comes from, and how it works.

You might ask, then, if it's possible to run both kernels, and provide both options. Yes. In fact, this is how WSL on Windows works. It runs a customised version of the Linux kernel as a Windows application. Likewise, docker allows you to run a Windows nanosever, which is somewhat similar. However, running a container has more overhead than running the system API translations.

Running them 'natively' doesn't really make sense, in the same way I cannot connect K'nex pieces to my Lego model directly. The two operating systems simply have different shapes, and cannot be directly connected.

[–] stat_rosa@lemy.nl 2 points 6 hours ago

My god, you blew my mind. Thank you for this great explanation.

load more comments (1 replies)
[–] nutbutter@discuss.tchncs.de 3 points 15 hours ago

Zorin has this feature, kind of.

Basically, it comes with wine preinstalled. So when you double click an exe, it will launch. Many softwares will work, except specialised ones like Photoshop or office 365.

However, I would like to mention, that downloading an exe and executing it to install softwares is an inherently flawed and an insecure system, and should be avoided. Even on Windows, people should be using MS Store, chocolatey or winget to install stuff.

[–] swordgeek@lemmy.ca 22 points 1 day ago (3 children)

Running Windows apps "natively" is impossible, by definition.

That said, I could imagine a kernel module that ran everything Windows in a microContainer like Kata. More likely would be to have Windows executables intercepted and run under Wine.

It's an interesting question.

[–] vext01@feddit.uk 1 points 5 hours ago

Wine has existed forever!

load more comments (2 replies)
[–] unmagical@lemmy.ml 17 points 1 day ago (1 children)

No, such an OS would necessarily not be Linux.

You can have a different OS that can run windows natively--like React OS, but it's very much not Linux.

[–] stat_rosa@lemy.nl 3 points 1 day ago

Did not know this existed, thank you. This is a very interesting OS, but indeed it is not Linux.

[–] litchralee@sh.itjust.works 15 points 1 day ago (1 children)
[–] stat_rosa@lemy.nl 1 points 1 day ago (3 children)

Yeah something like Wine, but running natively in the Linux OS.

[–] 9tr6gyp3@lemmy.world 20 points 1 day ago (6 children)

I mean, if you have wine installed, exes execute. What exactly are you missing?

load more comments (6 replies)
[–] TheFogan@programming.dev 12 points 1 day ago* (last edited 6 hours ago) (1 children)

Yeah something like Wine, but running natively in the Linux OS.

I think here's where you are a bit off in understanding...

Linux is not an OS. It's a kernel. Long story short, technically "Linux" has no graphic interface, cannot even run commands without a shell attached etc...

Obviously when most people say "linux", they mean a linux distribution, which is the linux kernel, with a bunch of software bundled and installed on top of it when you install. WINE is no different than "x" or "wayland". which are by definition, software running on a linux kernel, that is necessary to run a program designed to be graphical.

The point is everything run on "linux" is actually run on top of layers built on top of linux. So say we're talking running the text editor feather pad.

so linux "native" looks like Linux Kernel -> display server (x/wayland) -> libraries -> featherpad,

while running something with wine looks like Linux Kernel -> Display server -> Libraries for wine -> Wine - Notepad.

[–] stat_rosa@lemy.nl 1 points 1 day ago

Apologies, yes I sounded a bit simple, but your explanation is very helpful.

[–] anothermember@feddit.uk 8 points 1 day ago* (last edited 1 day ago) (1 children)

Well that's what Wine is, it's native Linux software, so if you're running something on Wine you're (technically) running it natively on Linux, it's a compatibility layer for Windows applications to run on Linux without breaking patents or having need to use Windows code. Of course clearly, as you know, there are shortcomings to Wine but that answers your question of where we are with this.

[–] stat_rosa@lemy.nl 1 points 1 day ago (2 children)

Yes you are right, I can live with this. But now I wonder if Microsoft would ever consider releasing a Wine competitor of their own, probably of course against a fee.

[–] EnsignWashout@startrek.website 3 points 20 hours ago* (last edited 20 hours ago) (2 children)

I mean, they kind of did. It's called Windows Subsystem for Linux, and it can run Linux programs on Windows, for anyone willing to coax it into working.

It's not awful, but it cannot even do graphical programs yet. Wine is a decade or two ahead of it.

Edit: I would have bet it was proprietary, but it is MIT License. https://github.com/microsoft/WSL

[–] froh42@lemmy.world 2 points 10 hours ago (1 children)

They also did the opposite, they have their own "thing" to run Windows software on Linux. It's a quite thin "kernel-like" layer offering most of the important Windows kernel calls on Linux. This is what they used to port their DB2 database to Linux. DB2 on Linux uses a few calls directly on the Linux kernel for performance (File IO for the DB), but other stuff lives in a Windows emulator (Like DLLs it loads).

Read a white paper about it a few years ago.

If they wanted, they could easily port all their applications to Linux, but (understandibly) they don't want to for end user stuff.

[–] EnsignWashout@startrek.website 1 points 9 hours ago

I had not heard of that. Fascinating! Thanks!

[–] stat_rosa@lemy.nl 2 points 18 hours ago

Yes this is indeed a great step into the right direction. it seems that when I look at all the comments Wine is is indeed the best the option.

[–] anothermember@feddit.uk 3 points 1 day ago (1 children)

I suppose they could, but it would almost definitely be proprietary software and almost definitely include all the anti-features you see in Windows 11 which would defeat the point. If they released it as free software (FOSS) that would be an unqualified win but that's very unlikely.

[–] stat_rosa@lemy.nl 0 points 1 day ago

Yeah seems unlikely

[–] BlackLaZoR@lemmy.world 4 points 23 hours ago

No bottles or ports, just download an EXE file and run it.

Manjaro does it. Imagine this: Distro mainainers came up with idea, that maybe .exe file should be launched via Wine by default. Crazy

[–] moonpiedumplings@programming.dev 8 points 1 day ago* (last edited 1 day ago)
  1. Preinstall wine

  2. Enable wine as the default app to open exes,.

then, when you double click on an exe you downloaded in your file explorer, it will launch and open.

Many of the user friendly Linux distros do this.

Of course there are caveats, in that if you run an installer, it might not show up in your desktop or so on. And any programs that need admin or have heavy drm also won't run.

Im addition to that, I dislike the model of downloading exes from the internet. Here is the other comment with my thoughts: https://programming.dev/post/48941029/23338730

[–] leaky_shower_thought@feddit.nl 2 points 22 hours ago (1 children)

there is a midge of possibility. but not today.

you need some vibe coder to do the clean lab linux versions of all windows libraries.

on a super high view of things, it's just a language difference.

[–] stat_rosa@lemy.nl 1 points 18 hours ago

Thank you I love your reply!

[–] jaschen306@sh.itjust.works 2 points 23 hours ago

My recommendation is to just run windows if your needs requires .exe. Trying to shoehorn .exe into an OS not designed for your use case will make you hate the OS instead of loving it.

Don't let some of these fanboys convince you that Wine/bottle is all you need. It's not. Most apps are well documented. Some are not and you will get frustrated when it's not.

I'm os agnostic. Run Linux and Windows depending on the situation.

[–] slazer2au@lemmy.world 4 points 1 day ago (2 children)

No. The exe called specific windows apis that don't exist natively on Linux.

Just like a windows system can't run a .deb or .rpm application *nix can't run .exe natively.

[–] froh42@lemmy.world 1 points 10 hours ago* (last edited 10 hours ago)

Neither does the Windows kernel have the specific apis that Windows applications call.

It's not very visible nowadays but the Windows kernel has it's own api and loads subsystems to support different apis for applications. All these subsystems died out long ago but the win32 subsystem which still lives on.

The win32 subsystem conceptually is not too far from Wine. The big difference is just how much effort MS puts into it and their long experience (and hacks and special cases for backwards compatibility).

Long time ago MS offered a posix subsystem, for example, so you could run Unix apps on Windows. (It was a bit half-assed however, they didn't really want people to use it, they just wanted people not to buy Unix workstations)

The Win 32 API is a continuation of the API from the Windows 95 line of OSes that still used DOS below. Windows NT supported Win32 on a completely different kernel, the Windows NT kernel was inspired by the VMS operating system.

NT is the great-granddaddy (via 2000, XP, Vista, 8, 10) of Windows 11. It's basically still the same kernel, just modernized.

The Win95 line died out after 98 and ME.

[–] stat_rosa@lemy.nl 0 points 1 day ago

Thank you. I already thought this would be the case.

[–] LogicOverFeelings@piefed.ca 3 points 1 day ago* (last edited 1 day ago)

Maybe you would be interested in ReactOS which is an operating system built from scratch to be compatible with Windows.

[–] Zwuzelmaus@feddit.org 3 points 1 day ago (1 children)

Maybe you are looking for qemu, or the more luxurious Proxmox VE.

It is....

a Linux OS

...and it can....

run Windows 11 apps natively?

...run Windows 11 first and then run Windows 11 apps natively

[–] stat_rosa@lemy.nl 1 points 1 day ago (1 children)

This is also very interesting, but then I'm running Windows 11 in a container.

[–] Zwuzelmaus@feddit.org 4 points 1 day ago* (last edited 1 day ago) (1 children)

No. In a virtual machine. Most parts of Windows and it's apps won't ever notice that. More native is not possible

[–] stat_rosa@lemy.nl 1 points 1 day ago

Oh I see. Nice.

[–] bjoern_tantau@swg-empire.de 3 points 1 day ago (1 children)

If you would count running a python program as "running natively" if you run the python script through your python interpreter, then I would argue that running an exe file through wine also counts as "running natively".

[–] stat_rosa@lemy.nl 2 points 1 day ago
[–] communism@lemmy.ml 2 points 1 day ago* (last edited 1 day ago) (1 children)

I mean... "Linux", the kernel, has a different API to "Windows", so by definition, no, those are two different APIs a program would have to call. I suppose it's probably hypothetically possible to fork the Linux kernel to add support for Windows APIs, but I don't know why anyone would want to do that when Wine and, failing that, VMs exist.

If you configure Wine to open exes then it is as simple as "just download an exe file and run it".

[–] stat_rosa@lemy.nl 0 points 1 day ago (1 children)

Ok, then basically you have to have a lot of ram to make it feel as native possible? Lets take Microsoft office as an example, and I'm running either Debian or Fedora latest version, I need at least 16GB of ram to run it with the feeling that it’s native, just like as if I'm running LibreOffice.

[–] communism@lemmy.ml 2 points 15 hours ago (1 children)

RAM matters for a VM, to give the VM enough memory to run the OS. Wine is not a VM though, so you only need a "normal" amount of RAM to run a Windows program through Wine, ie whatever the recommended amount of memory is for Office. Not all programs work well through wine though; Office might not. I don't know why you'd need to run MS Office specifically though when LibreOffice exists. Do you have a specific use case?

[–] stat_rosa@lemy.nl 0 points 13 hours ago (1 children)

Thank you I've learned something new.

No special use case, I'm just thinking out loud what it will take the common computer user to turn away from Microsoft Windows.

[–] communism@lemmy.ml 2 points 13 hours ago (1 children)

Windows isn't the only problem. The amount of bloated proprietary spyware the average user uses is also a problem, aside from just the bloated proprietary spyware OS. Most people switching over to Linux will also replace any proprietary software they were using before, with FOSS, which is a good thing. For most people, switching out the OS itself is the biggest step, not replacing user software.

[–] stat_rosa@lemy.nl 1 points 6 hours ago

Yes this is also my concern with Windows, the spyware and the data stealing. And you are right it is the big step of switching to Linux that is the biggest ordeal.

[–] HubertManne@piefed.social 0 points 1 day ago (1 children)

Not sure why windows 11 over 10. Playonlinux did it pretty decently but apparently could not keep up with wine developments and is effectively dead. Steam has this thing where you can install something as a stand alone and choose proton versions. Im honestly not sure how well it would work but it would be realtively easy but not double click any exe easy.

[–] stat_rosa@lemy.nl 1 points 1 day ago

You are right, Windows 10 would als be a great option. I think you are on to something with what Steam is doing.

load more comments
view more: next ›