Cool, so we can now easily run our legacy shell scripts and similar old tools from the comfort of a Windows desktop.
Ubuntu Linux now on Windows Store (for Insiders)
Microsoft finally confirmed that Hell has indeed frozen over – Ubuntu is at long last available from the Windows Store. Canonical's Linux distro is now available for installation on Windows Store on Insider build 16215 and higher. Windows 10 already supports Ubuntu via the Windows Subsystem for Linux, rolled out in the …
COMMENTS
-
-
Tuesday 11th July 2017 14:50 GMT Christopher Reeve's Horse
But...
Please forgive my ignorance, but downloading another OS via the windows store! What kind of sorcery is this?
Does it install alongside windows as a dual boot (risking Grub destroying your RAID arrays; this happened to me last time I tried to set up a dual boot!) or does it run virtualised inside Windows?
-
Tuesday 11th July 2017 14:54 GMT Anonymous Coward
Re: But...
This is the new fangled Windows Subsystem for Linux. It allows linux binaries to natively call their expected APIs under a windows OS, through a very lightweight translation layer. "Installing ubuntu" in this context really means installing Ubuntu's userland features (including apt-get etc.) for use within Windows.
https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/
-
Tuesday 11th July 2017 15:07 GMT Mage
Re: new fangled Windows Subsystem for Linux
Essentially 21st C version of the old MS Services For Unix, slightly updated.
if you want to dual boot, or run Ubuntu in a VM on Windows (the reverse is better), then get Ubuntu or any other Linux distro (or BSD etc) in the normal way.
Windows Store is like a copy of Nokia's pointless store for Symbian (which resulted in REDUCED functionality -- widgets killed -- and making it harder to download S60 apps from random websites. iTunes only worked because it existed before iOS and there wasn't a pre iTunes method. Practically the same exists for Android). Windows Store is a broken concept for x86 Desktop PCs. The phone and ARM Tablet MS OS should NEVER have been called Windows (It was Windows CE originally). MS attempt to take control of distribution sucks.
Their new EVERYTHING is 365 will piss people off too.
Absolute morons.
-
Wednesday 12th July 2017 06:09 GMT bazza
Re: new fangled Windows Subsystem for Linux
Essentially 21st C version of the old MS Services For Unix, slightly updated.
It's not even remotely close to being that.
if you want to dual boot, or run Ubuntu in a VM on Windows (the reverse is better), then get Ubuntu or any other Linux distro (or BSD etc) in the normal way.
Why bother? If an Ubuntu user land installation cannot tell the difference, why both dual booting or going the whole VM route?
-
-
Wednesday 12th July 2017 13:34 GMT Kristian Walsh
Nokia's Store and non-Store apps (Was Re: new fangled Windows Subsystem for Linux)
Nokia's app store was never exclusive. Symbian still allowed you to install anything you wanted, from anywhere you wanted. All you got was a warning dialog saying "This isn't from a verified publisher. Do you still want to install it?"
This made it very easy to send beta-test or distribute review copies of paid apps - just email your .sis file to the relevant people, and have them install it directly by tapping the file attachment in their email.
Back on topic, the reason MS has put this into Windows Store is the same reason that their other built-in apps are kept in the Windows Store: it puts all the non-OS parts under the same distribution and update infrastructure.
The product is called "Ubuntu on Windows" (although the technology that allows it is called the "Windows Subsystem for Linux"). Canonical are 100% involved in this, which is why the "Ubuntu" name can be used. The confusion is that people use "Linux" to describe the kernel as well as the kernel plus various GNU-based userspace tools that make a usable system, of which Ubuntu is one.
For "Ubuntu on Windows", WSL plus NT is the "kernel", Ubuntu's set of tools is the userspace.
And the reason that WINE emulates win32.dll rather than the "Windows Kernel" (a misnomer - the current kernel is called "NT"; "Windows 10" is the name of the current userspace) is that there wasn't just one "kernel" when WINE started: win32.dll is the abstraction layer that gave Windows NT and Windows 3.1/9x the same APIs, so that's the correct layer to intercept.
-
-
-
Wednesday 12th July 2017 06:30 GMT bazza
Re: But...
Oh, sort of Wine in reverse then?
Not really. WINE emulates win32.dll, and other high level dlls. These are exclusively used by Windows binaries to access kernel services. The reverse of WINE would be sort of like a reimplemented glibc.so for Windows.
This is a Linux kernel system call shim for Windows. So a real Linux binary calls a function in the real glibc, which in turn makes Linux kernel calls just as if it were really running on Linux. And the shim translates that into the equivalent windows kernel call(s).
Reasons
The reason why Wine does what it does is because the Windows kernel system call interface has never been published. So they had to emulate the next layer up (win32.dll).
Because the Windows kernel system call interface is not public, no one can do a windows kernel shim layer for Linux. Apart from Microsoft.
Which is exactly what they're doing with their port of SQL Server to Linux. Instead of using Wine or doing an actual source code port, they're emulating the Windows kernel on Linux.
Consequences
Ultimately this kind of abstraction of kernels will mean that people will stop caring about which kernel they're running. In theory you could construct an OS that looks like Ubuntu, smells like Ubuntu, feels like Ubuntu, but just happens to have a Windows kernel and Windows drivers instead of the Linux kernel and it's lesser set of drivers.
If MS were giving the kernel away for free so that the Linux Distro companies could do this if they wanted to, such frankenOSes could be quite useful. All the same freedoms as commonly enjoyed now (who ever really does their own kernel hacking? Not many...), but with rock solid driver support. The Linux kernel community might care for GPL2 and open source purity, but quite a lot of people just want an OS that works on their hardware for free.
-
Tuesday 11th July 2017 16:12 GMT Anonymous Coward
Re: But...
"Installing ubuntu" in this context really means installing Ubuntu's userland features (including apt-get etc.) for use within Windows.
So it's not Ubuntu at all - in fact it's not even Linux, if you're not running a Linux kernel. Shouldn't Canonical object to this misuse of their trademark?
If it crashes, it's Windows' fault, not Linux.
-
Tuesday 11th July 2017 19:40 GMT Anonymous Coward
Re: But...
"So it's not Ubuntu at all - in fact it's not even Linux, if you're not running a Linux kernel. Shouldn't Canonical object to this misuse of their trademark?"
Correct, it's not running a Linux kernel but it is presenting most of a Linux API. Whether that constitutes infringement of the Linux name is a fair argument. As to whether it's infringement on the name "Ubuntu" - it ain't; Canonical are maintaining the "image" that's installed.
-
This post has been deleted by its author
-
Wednesday 12th July 2017 06:05 GMT bazza
Re: But...
This is the new fangled Windows Subsystem for Linux. It allows linux binaries to natively call their expected APIs under a windows OS, through a very lightweight translation layer.
To add to that excellent post, it's basically the same trick that Solaris, FreeBSD and QNX also do to support Linux binaries.
It works so long as the Linux binary is compiled for the same CPU that the OS is running on. So Solaris x86 can support Linux binaries so long as they were also compiled for x86. QNX can do it on ARMs.
-
-
-
Tuesday 11th July 2017 14:58 GMT Mage
Faster by using Windows download?
Ha!
I have found MS downloads very slow compared to the Linux distro mirrors.
I found that trying to install ANYTHING from Windows Store breaks the Store App -- and all other "metro/modern" apps on Win 10. Attempting to repair Store app: This app can't be repaired please download an updated version from Windows Store.
Sorry MS, but you are now rubbish. I prefer to install Wine, Mono, MS Fonts etc from LINUX distros on Linux for the legacy Windows Applications I still use.
Win 10 is a bad copy of Android now. At least with Vista you could customise it! ME was better than Win10 and Windows Store.
-
Tuesday 11th July 2017 17:24 GMT Mark 110
Re: Faster by using Windows download?
@Mage - So just use a normal install. I agree the Windows store is a bit rubbish . . . . but as I have only ever used it to see what it did then decided it was an unnecessary obstacle its not an irritant.
Unlike the whole Linux equivalent which has caused me no end of pain.
-
Wednesday 12th July 2017 00:00 GMT TheVogon
Re: Faster by using Windows download?
"I found that trying to install ANYTHING from Windows Store breaks the Store App -- and all other "metro/modern" apps on Win 10. Attempting to repair Store app: This app can't be repaired please download an updated version from Windows Store."
That's not normal behaviour obviously.
Firstly, make sure your time & date are set correctly and check that all pending Windows updates are installed. Then try opening an elevated command prompt and running WSRESET
If that doesn't help you can reinstall the Store and other preinstalled apps via Powershell - Instructions here: www.intowindows.com/how-to-reinstall-store-and-other-preinstalled-apps-in-windows-10
-
Wednesday 12th July 2017 01:35 GMT Anonymous Coward
Re: Faster by using Windows download?
"I have found MS downloads very slow compared to the Linux distro mirrors."
I just installed the base Ubunto package onto Windows 10 (just under 200MB) and got well over 100mbit / second in the UK. I don't know what you get from the Linux distro mirrors, but the Windows Store seems pretty speedy here.
-
-
-
-
Tuesday 11th July 2017 15:06 GMT Anonymous Coward
Fast Startup, corrupt NTFS.
Have Microsoft have finally turned off Fast Startup, if you install Ubuntu? One of the problems with Microsoft Windows 10's hibernated fast startup mode, is the NTFS File System is unreadable by another OS (where you dual boot etc) while it's in this frozen state, it's effectively marked as 'dirty'.
Also, if you setup a hard disk in a GPT+Hybrid MBR Mode (using Apple's HFS to initially layout the disk, with 128MB blanks between partitions, then Ubuntu's Gdisk to add Hybrid), you still can't see partitions past the first 3, EFI+1,2,3 in Windows 10.
In this situation though, Ubuntu (and Macs to some extent using Paragon's UFSD) can see and read everything, NTFS, HFS+, EXT3/4, other GPT Partitions, past those in the first 4.
Microsoft really needs to start supporting GPT+Hybrid MBR disk layouts properly i.e by incorporating and licencing Paragon UFSD.
It's make Windows look so clunky regards it's objections to reading different disk formats/disk structures.
-
-
Tuesday 11th July 2017 15:21 GMT Anonymous Coward
Re: Fast Startup, corrupt NTFS.
Yep, I always I do (first thing I do on any new install) because it's one less variable to deal with when working with multiple OS's. I just wondered if Microsoft had thought this through enough to actually do the same, i.e. switch off their own conflicting crud. I'm guessing not.
It's doesn't help that MS make it as difficult as possible to run Windows 10, Windows 7 side by side physically, in terms of the Microsoft Bootloader, and the limit on physical MBR partitions.
An example of this is where Windows 7 can see a Windows 10 partition as drive D. If Windows 7 forces a check disk on the visible Win10 NTFS partition, it will corrupt the Win10 system partition but the other way round it's fine, i.e Windows 10 checking the structure of Win7 System disk.
-
-