TheaterFire

Running a Windows executable on Linux in 17 easy steps

Posted by zdimension@reddit | programming | View on Reddit | 33 comments

Reply to Post

33 Comments

shevy-java@reddit

17 steps ... Can't we simplify this?
View on Reddit #9203103

BL1NDX3N0N@reddit

Yes Step 1.) - Install Windows Step 2.) - That’s it
View on Reddit #9240266

LAUAR@reddit

But then you have to use Windows.
View on Reddit #9279436

cncmiller@reddit

I've saved so much money shopping with Microsoft Edge coupons.
View on Reddit #9385027

BL1NDX3N0N@reddit

And?
View on Reddit #9293401

_vk22@reddit

Hyper-V to the rescue if you hate dual boot screen to choose is every single freaking time and want both windows and Linux.
View on Reddit #9257342

ThreeChonkyCats@reddit

1 - install Bottles 2 - run program There, I shortened a long article, but I guess I need more SEO keyword stuffing :)
View on Reddit #9213630

zdimension@reddit (OP)

I mean, the entire point of the article was "Wine is nice but it's quite large just to run a simple small .exe file so let's try to do it differently"
View on Reddit #9224230

idk-just-something@reddit

Absolutely! Let’s just optimize this… beep boop. “…17 EASY steps!”
View on Reddit #9203624

amakai@reddit

(but now it requires 2 more extra steps upfront to install and configure two packages providing the "easy" part)
View on Reddit #9207306

Venthe@reddit

If only I could actually run 100% of Windows software (excluding Windows specific of course), I'd jump the ship in an instant, warts and all. Linux is... A mess from an individual standpoint. (Don't believe me? Use 4k multi screen with scaling). But I'd happily accept it if I could show Windows 11+ a big f'u, with all their'smarts' and 'ais'. But it's a pipe dream.
View on Reddit #9229074

myringotomy@reddit

Only if Microsoft would cross compile their apps for linux and use cross platform technologies.
View on Reddit #9302263

Venthe@reddit

Not really; as Wine proves. But Wine is still years off.
View on Reddit #9302297

myringotomy@reddit

Wine wouldn't be needed if Microsoft wrote their apps in a cross platform language and cross compiled to other operating systems. Alas that would impact their shareholder value so everybody else has to spend thousands if not millions of man hours trying to get their shit working on linux. Such a waste of time and resources.
View on Reddit #9320907

Venthe@reddit

But why should they? I actually don't get your line of reasoning. They are building their ecosystem with limited incentive to expand to Linux. "We" are interested in this. They've build a business model based on lock in, which is frankly quite understandable. If anything, I'd say that (current) Microsoft is pretty open about everything; as compared to the other major player.
View on Reddit #9322569

myringotomy@reddit

>But why should they? Because they care about open source and want everybody to be able to run their software. >Microsoft is pretty open about everything; as compared to the other major player. What a bizarre thing to say. What are they open about actually? How does their open source volume compare to facebook, twitter, google, or even yahoo for that matter? MS is pathetic when it comes to openness. Even github is not open source FFS.
View on Reddit #9329689

Venthe@reddit

> What a bizarre thing to say. What are they open about actually? How does their open source volume compare to facebook, twitter, google, or even yahoo for that matter? Largest non-google chromium contributor; fifth largest contributor to Linux; open source powershell, .net core, vscodium to [name a few](https://en.wikipedia.org/wiki/Microsoft_and_open_source). We are far away from the Ballmer era, you know? > Because they care about open source and want everybody to be able to run their software. One does not equal the other. They are the company, and it's obvious that they have a stake in open source. This is not a bad thing; because Open Source and Microsoft are mutually beneficent from that arrangement.
View on Reddit #9330462

myringotomy@reddit

>Largest non-google chromium contributor; fifth largest contributor to Linux; open source powershell, .net core, vscodium to name a few. Largest how? Lines of code? I guarantee you that you are lying your ass off when you say Microsoft is the fifth largest contributor to linux. I am guessing you are also lying about the chromium contributions as well. >We are far away from the Ballmer era, you know? Not when it comes to dishonesty and sleazy behavior apparently. >They are the company, and it's obvious that they have a stake in open source. Not much. >Open Source and Microsoft are mutually beneficent from that arrangement. If this was true they would publish the sources for their apps so it's clearly not true.
View on Reddit #9335199

Venthe@reddit

At one hand, we have hard facts. At the other hand, you desperately trying to ignore facts. We are done here.
View on Reddit #9335454

myringotomy@reddit

What fact is that? Do you mean your lie that Microsoft is the fifth largest contributor of code to linux? That wasn't a fact. That was a lying sack of shit spewing bullshit and linking to wikipedia as if it proves anything.
View on Reddit #9336630

dafzor@reddit

As someone using linux full-time at 4k multi-screen i'd say it's less of a mess then it used too, but i use the same scaling on all screens. Scaling per screen would require Wayland which while mostly usable still has show stoppers like no magnifier and requires you to have a well supported gpu.
View on Reddit #9247763

Ohlav@reddit

Got back to Windows because of multi-screen, too. Qt and GTK both would have a bunch of quirks and undefined behaviors. I hate Windows, but at least it's consistent in its problems.
View on Reddit #9247195

MyOthrUsrnmIsABook@reddit

Great write-up. It never occurred to me that most of the Windows functions could just return whatever value the EXE was interpreting as success. It makes sense, now that I think about it, that at least some of the MSVC functions won't have any analogous actions that can be taken in a Linux environment.
View on Reddit #9222778

zdimension@reddit (OP)

Thanks! Yeah, in the end a few lies and return codes get you quite far.
View on Reddit #9264263

voidtf@reddit

Very impressive and well written, ty for the article!
View on Reddit #9262258

zdimension@reddit (OP)

Thank you for your comment, means a lot!
View on Reddit #9263613

CaptainCrowbar@reddit

"...and 98 very difficult ones."
View on Reddit #9259874

criptkiller16@reddit

17? 17,5? Or just 17?
View on Reddit #9204749

zdimension@reddit (OP)

17,2425 actually but I had to round
View on Reddit #9227129

glonq@reddit

Anything that involves 17 steps is not easy, even if each of the individual steps is easy. ...which is also why I can't dance worth a damn ;)
View on Reddit #9222716

Brilliant-Durian-234@reddit

Interesting article
View on Reddit #9217234

remenic@reddit

\* without using wine
View on Reddit #9214217

CrazyCommenter@reddit

And you lost most people at 17
View on Reddit #9212982