r/programming • • Mar 30 '16

Microsoft is bringing the Bash shell to Windows 10

http://techcrunch.com/2016/03/30/be-very-afraid-hell-has-frozen-over-bash-is-coming-to-windows-10/
5.5k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

490

u/andlrc Mar 30 '16

Yes, that means apt, ssh, rsync, find, grep, awk, sed, sort, xargs, md5sum, gpg, curl, wget, apache, mysql, python, perl, ruby, php, gcc, tar, vim, emacs, diff, patch...
And most of the tens of thousands binary packages available in the Ubuntu archives!

http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html?m=1

881

u/[deleted] Mar 30 '16

I think I need to get some air...

0

u/[deleted] Mar 30 '16

[deleted]

294

u/thepeacemaker Mar 30 '16

Apparently, they've added support for native ELF binaries to Windows.

http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html

"Hum, well it's like cygwin perhaps?" Nope! Cygwin includes open source utilities are recompiled from source to run natively in Windows. Here, we're talking about bit-for-bit, checksum-for-checksum Ubuntu ELF binaries running directly in Windows.

359

u/superPwnzorMegaMan Mar 30 '16

So its wine for Linux binaries running on windows?

158

u/Fazer2 Mar 30 '16

It is.

88

u/Codile Mar 30 '16

It just doesn't have to be tediously reverse engineered, which obviously improves compatibility.

279

u/Workaphobia Mar 30 '16

You telling me I can run Starcraft 1 on linux on wine on windows?

40

u/randomstonerfromaus Mar 30 '16

2016 - What a year to be alive.

14

u/joonazan Mar 30 '16

That has already been done. Planescape Torment from GOG runs in Wine on Windows.

→ More replies (2)
→ More replies (7)
→ More replies (4)

0

u/[deleted] Mar 31 '16

[deleted]

35

u/[deleted] Mar 31 '16

in all seriousness this would be great for running older programs that don't work in Windows 10 but still work in WINE

→ More replies (1)
→ More replies (3)
→ More replies (1)

105

u/bliths Mar 30 '16

Should try running "cmd.exe bash" through Wine on Ubuntu and complete the circle

→ More replies (3)

23

u/fufukittyfuk Mar 30 '16 edited Mar 31 '16

windows is not (a) emulator??? Surprisingly fits. Edit : fixed link

51

u/nemec Mar 30 '16

From this point on it stands for Windows is now (an) emulator ;)

→ More replies (11)
→ More replies (1)
→ More replies (4)

76

u/Workaphobia Mar 30 '16

Apparently, they've added support for native ELF binaries to Windows.

Well now I know I'm not in my home universe.

Incidentally, "Adding support for native ELF binaries to Windows" would be a great Cards Against Humanity card. It'd pair well with the "This is the way the world ends" card.

19

u/KeytarVillain Mar 31 '16

It would be perfect for Cards Against IT

→ More replies (2)
→ More replies (24)

52

u/benpye Mar 30 '16 edited Mar 30 '16

Pretty sure it's using the plain Ubuntu repos, and it implements a Linux subsystem on Windows. I guess if you ran an X server on Windows you could run GUI apps with the right configuration...

EDIT: Yep, https://channel9.msdn.com/Events/Build/2016/P488

13

u/compdog Mar 30 '16

So could I run xming and set the internal ubuntu to use it on localhost? That would be amazing!

→ More replies (1)
→ More replies (6)

12

u/dangerbird2 Mar 30 '16

If we can how does it run a GUI

Yes, if they are able to create a proper x-window server in Win10. Cygwin already has its own source port of X11, which allows recompilation of Linux Gui programs, and desktop environments, onto Windows. Because X11 is so tied to system drivers and kernel modules, its doubtful that either native Linux X11 builds nor Cygwin's implementation would work with the proposed "Winbuntu", which mainly ports Ubuntu's userland.

→ More replies (3)
→ More replies (11)
→ More replies (26)

15

u/DJ_Beardsquirt Mar 30 '16

Could Windows specific packages eventually appear? Sudo apt-get install directx?

15

u/AshleyTheCatgirl Mar 30 '16

There's OneGet for that, I guess

→ More replies (5)
→ More replies (1)
→ More replies (39)