[LINK] Linux running under Windows?!!

2018-11-09 Thread David
While looking for something quite unrelated I stumbled on the article at
https://www.howtogeek.com/265900/everything-you-can-do-with-windows-10s-new-bash-shell/
which describes how Linux and Linux applications can now be run under 
Windows-10.

QUOTE
You can install a Linux environment and Bash shell on any edition of Windows 
10, including Windows 10 Home.  However, it does require a 64-bit version of 
Windows 10.  You just have to enable the Windows Subsystem for Linux feature, 
and then install your chosen Linux distribution—for example, Ubuntu—from the 
Windows Store.

As of the Fall Creators Update in late 2017, you no longer have to enable 
developer mode in Windows, and this feature is no longer beta.
[...]
The Fall Creators Update also enabled support for multiple Linux distributions, 
where previously only Ubuntu was available.  Initially, you can install Ubuntu, 
openSUSE Leap, SUSE Linux Enterprise Server, Debian GNU/Linux, or Kali Linux.  
Fedora is also on the way, and we’ll probably see more Linux distributions 
offered in the future.

You can have multiple Linux distributions installed, and you can even run 
multiple different Linux environments at the same time.
[...]
Your Linux files and Windows files are normally separated, but there are ways 
to access your Linux files from Windows and your Windows files from the Linux 
environment.
[...]
UNQUOTE

I wonder what is Microsoft's long-term plan?

David L.


___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link


Re: [LINK] Linux running under Windows?!!

2018-11-09 Thread Karl Auer
On Sat, 2018-11-10 at 10:13 +1100, David wrote:
> While looking for something quite unrelated I stumbled on the article
> at https://www.howtogeek.com/265900/everything-you-can-do-with-
> windows-10s-new-bash-shell/ which describes how Linux and Linux
> applications can now be run under Windows-10.

Um, not quite. Shell stuff, yes. You get bash, and pretty much anything
command line. You can't run anything graphical as far as I know. Still,
it's a way better solution than cygwin, and you really do get the full
power of a Unix command line.

> You just have to enable the Windows
> Subsystem for Linux feature, and then install your chosen Linux
> distribution—for example, Ubuntu—from the Windows Store.

Funny they didn't call it "the Linux subssystem for Windows feature".

> I wonder what is Microsoft's long-term plan?

I think it's safe to say that their long-term plan is the same as it
ever was. "Embrace, extend, extinguish".

Regards, K.

-- 
~~~
Karl Auer (ka...@biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A0CD 28F0 10BE FC21 C57C 67C1 19A6 83A4 9B0B 1D75
Old fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A


___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link


Re: [LINK] Linux running under Windows?!!

2018-11-09 Thread Robert Brockway

On Sat, 10 Nov 2018, David wrote:


I wonder what is Microsoft's long-term plan?


Further integration in to the open source world I believe.

Being able to run Linux apps on Windows doesn't mean there will be 
widespread abandonment of Linux.  The trend has been in the other 
direction for a couple of decades.  Rather it means that cross platform 
apps will be easier to build.


Microsoft has been a member of the Linux Foundation since 2016.  A 
plurality (likely soon to be majority) of VMs running on Microsoft's Azure 
cloud platform are Linux systems.


Microsoft tried to destroy Linux/open source as it perceived this to be in 
its best interests.  It failed.  Microsoft now works with the Linux/open 
source community as it perceives this to be in its best interests.


Having been actively involved with the Linux/open source community for 
over a quarter century I've watched Microsoft change.  I remember when the 
Mozilla development team announced that the Microsoft IE team had 
contacted them and wanted to meet.  They tentatively agreed to the 
meeting, publicly admitting they didn't know what to expect.  That was the 
first crack in the ice and represented a change of direction (and culture) 
at Microsoft that took perhaps a decade.


I'm looking seriously at using Powershell for my next project because 
Microsoft ported it to Linux (my preferred platform), released it open 
source, and it seems like the right job for the task.


Cheers,

Rob
___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link


Re: [LINK] Linux running under Windows?!!

2018-11-09 Thread David
On Saturday, 10 November 2018 11:54:16 AEDT Robert Brockway wrote:
> Microsoft tried to destroy Linux/open source as it perceived this to be in 
> its best interests.  It failed.  Microsoft now works with the Linux/open 
> source community as it perceives this to be in its best interests.

I think Steve Bulmer once pronounced open-source software to be "un-American"!

David L.

___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link


Re: [LINK] Linux running under Windows?!!

2018-11-10 Thread Jim Birch
Steve Bulmer once pronounced open-source software to be "un-American".

Maybe it is.  If only we could work out what "un-American" means then we'd
know.

The action in computing is in data centres and Microsoft want their
software to be running data centres.  Excluding Linux, or anything, is not
on.  The OS itself is basically a commodity item, pick and choose for
application compatibility.  Microsoft have now produced a new
cross-platform version of Powershell that runs on Windows, Linux and OSX
and includes support for things like Docker.  The object here would be to
allow cross-platform centre management using Microsoft tools.

Jim
___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link


Re: [LINK] Linux running under Windows?!!

2018-11-10 Thread andrew clarke
On Sat 2018-11-10 11:19:01 UTC+1100, Karl Auer (ka...@biplane.com.au) wrote:

> On Sat, 2018-11-10 at 10:13 +1100, David wrote:
>
> > While looking for something quite unrelated I stumbled on the article
> > at https://www.howtogeek.com/265900/everything-you-can-do-with-
> > windows-10s-new-bash-shell/ which describes how Linux and Linux
> > applications can now be run under Windows-10.
> 
> Um, not quite. Shell stuff, yes. You get bash, and pretty much anything
> command line. You can't run anything graphical as far as I know. Still,
> it's a way better solution than cygwin, and you really do get the full
> power of a Unix command line.

You can run graphical apps under WSL once you install an X server on the
Windows side, though you are somewhat limited by the capabilities of the X
server software.

https://www.zdnet.com/article/how-to-run-run-the-native-ubuntu-desktop-on-windows-10/

https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx

https://www.pcgamer.com/linux-in-windows-10/

WSL's biggest tradeoff seems to be poor disk I/O performance compared to
native Linux (or even compared to running Linux in a virtual machine).
I suspect Cygwin binaries also perform disk I/O quicker than the equivalent
Linux binaries running under WSL due to lower API overhead. For apps that
aren't I/O-bound this isn't such a big issue, though.

Of course it's possible to install both WSL and Cygwin concurrently and
choose whichever suits the task at hand.

I'm apprehensive about Microsoft's long-term plans for Linux, but WSL does
open up some interesting avenues.
___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link


Re: [LINK] Linux running under Windows?!!

2018-11-11 Thread Tom Worthington

On 10/11/18 2:14 pm, David wrote:


I think Steve Bulmer once pronounced open-source software to be "un-American"!


"Ballmer: I may have called Linux a cancer but now I love it", by Liam 
Tung, ZD Net, March 11, 2016: 
https://www.zdnet.com/article/ballmer-i-may-have-called-linux-a-cancer-but-now-i-love-it/



--
Tom Worthington, MEd FHEA FACS CP http://www.tomw.net.au +61(0)419496150
TomW Communications Pty Ltd. PO Box 13, Belconnen ACT 2617, Australia
Liability limited by a scheme approved under Prof. Standards Legislation

Honorary Senior Lecturer, Computer Science, Australian National 
University https://cecs.anu.edu.au/research/profile/tom-worthington

___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link


Re: [LINK] Linux running under Windows?!!

2019-05-09 Thread andrew clarke
On Sun 2018-11-11 12:35:58 UTC+1100, andrew clarke (m...@ozzmosis.com) wrote:

> WSL's biggest tradeoff seems to be poor disk I/O performance compared to
> native Linux (or even compared to running Linux in a virtual machine).
> I suspect Cygwin binaries also perform disk I/O quicker than the equivalent
> Linux binaries running under WSL due to lower API overhead. For apps that
> aren't I/O-bound this isn't such a big issue, though.

As update to this, Microsoft has been developing a custom Linux kernel known
as WSL2 to run under Windows 10, which should alleviate a lot of the I/O
performance issues under the current WSL.

https://devblogs.microsoft.com/commandline/shipping-a-linux-kernel-with-windows/

The WSL2 code will also be open sourced, which I speculate could allow
compatibility with binaries from other OSes in the future.

---

This new embracement of Linux is quite an about-face from many years ago
when it was seen by CEO Steve Ballmer as a threat to Microsoft.

"Linux is a cancer", 2001:

https://www.theregister.co.uk/2001/06/02/ballmer_linux_is_a_cancer/

Though to put this into perspective, this was shortly before Windows XP was
released. Most home users were still running Windows 98.

"I may have called Linux a cancer but now I love it", 2016:

https://www.zdnet.com/article/ballmer-i-may-have-called-linux-a-cancer-but-now-i-love-it/


Interestingly this is despite the proliferation of Android devices (which
run the Linux kernel) being at least partly responsible for the demise of
Microsoft's Windows Phone.

All said, had the Linux kernel never been invented, I suspect BSD (eg.
FreeBSD) would have taken its place as a similar "threat", and Google
would've chosen a BSD kernel to run on its ARM smartphones.

Regards
Andrew
___
Link mailing list
Link@mailman.anu.edu.au
http://mailman.anu.edu.au/mailman/listinfo/link