http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html
Edit: CloudFart doesn't like it if you mention the name of Windows' command prompt executable.
An Ubuntu user space and bash shell, running natively in a Windows 10 c*m*d.e*x*e console!
Did you get that?!? Don't worry, it took me a few laps around that track, before I fully comprehended it when I first heard such crazy talk a few months ago
Here's let's break it down slowly...
- Windows 10 users
- Can open the Windows Start menu
- And type "bash" [enter]
- Which opens a c*m*d.e*x*e console
- Running Ubuntu's /bin/bash
- With full access to all of Ubuntu user space
- 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!
"Right, so just Ubuntu running in a virtual machine?" Nope! This isn't a virtual machine at all. There's no Linux kernel booting in a VM under a hypervisor. It's just the Ubuntu user space.
"Ah, okay, so this is Ubuntu in a container then?" Nope! This isn't a container either. It's native Ubuntu binaries running directly in Windows.
"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.
[long pause]
"So maybe something like a Linux emulator?" Now you're getting warmer! A team of sharp developers at Microsoft has been hard at work adapting some Microsoft research technology to basically perform real time translation of Linux syscalls into Windows OS syscalls. Linux geeks can think of it sort of the inverse of "wine" -- Ubuntu binaries running natively in Windows. Microsoft calls it their "Windows Subsystem for Linux". (No, it's not open source at this time.)
Edit: CloudFart doesn't like it if you mention the name of Windows' command prompt executable.
Last edited:
