Slashdot Mirror


Confirmed: Microsoft and Canonical Partner To Bring Ubuntu To Windows 10 (zdnet.com)

Steven J. Vaughan-Nichols reports for ZDNet: According to sources at Canonical, Ubuntu Linux's parent company, and Microsoft, you'll soon be able to run Ubuntu on Windows 10. This will be more than just running the Bash shell on Windows 10. After all, thanks to programs such as Cygwin or MSYS utilities, hardcore Unix users have long been able to run the popular Bash command line interface (CLI) on Windows. With this new addition, Ubuntu users will be able to run Ubuntu simultaneously with Windows. This will not be in a virtual machine, but as an integrated part of Windows 10. [...] Microsoft and Canonical will not, however, sources say, be integrating Linux per se into Windows. Instead, Ubuntu will primarily run on a foundation of native Windows libraries. Update: 03/30 16:16 GMT by M : At its developer conference Build 2016, Microsoft on Wednesday confirmed that it is bringing native support for Bash on Windows 10. Scott Hanselman writes: This isn't Bash or Ubuntu running in a VM. This is a real native Bash Linux binary running on Windows itself. It's fast and lightweight and it's the real binaries. This is a genuine Ubuntu image on top of Windows with all the Linux tools I use like awk, sed, grep, vi, etc. It's fast and it's lightweight. The binaries are downloaded by you - using apt-get - just as on Linux, because it is Linux. You can apt-get and download other tools like Ruby, Redis, emacs, and on and on. This is brilliant for developers that use a diverse set of tools like me.

52 of 492 comments (clear)

  1. Ew, no by Anonymous Coward · · Score: 5, Insightful

    The only reason I'd ever bother with Ubuntu is to get away from Windows. I don't want them together.

    1. Re:Ew, no by tripleevenfall · · Score: 5, Funny

      It's The Year of Linux on Windows (TM)

    2. Re:Ew, no by K.+S.+Kyosuke · · Score: 5, Insightful

      You forgot the important part. It's The Year of Linux on Windows on the desktop (TM).

      --
      Ezekiel 23:20
    3. Re:Ew, no by phrostie · · Score: 5, Funny

      So they put the win10 equivalent of linux on windows 10?

      lol
      Lol
      LOL
      ROTFLMAO

      Shhhhhh

      no one tell them.

    4. Re:Ew, no by Thud457 · · Score: 5, Funny

      Satya Nadella is in South Africa giving a speech:
      "Soon, you'll soon be able to run Ubuntu on Windows 10. "
      The crowd replies with a enthusiastic cry of "UBUNTU"!

      "This will be more than just running the Bash shell on Windows 10. After all, thanks to programs such as Cygwin or MSYS utilities, hardcore Unix users have long been able to run the popular Bash command line interface (CLI) on Windows. "
      The crowd exuberatly reponds with "UBUNTU"!

      "With this new addition, Ubuntu users will be able to run Ubuntu simultaneously with Windows. This will not be in a virtual machine, but as an integrated part of Windows 10. "
      The audience shouts "UBUNTU"!

      "Microsoft and Canonical will not, however, be integrating Linux per se into Windows. Instead, Ubuntu will primarily run on a foundation of native Windows libraries."
      The congregtation replies with a resounding "UBUNTU"!

      After the presentation, as Nadella is being led out the back of the conference center past some cattle pens, his guide warns him "be careful, don't step in the UBUNTU".

      --

      the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    5. Re:Ew, no by Anonymous Coward · · Score: 2, Informative

      Many reasons that some run Ubuntu has a guest on Windows is their PC came with a OEM windows license that you cannot transfer to the VM. So you could not get rid of Windows as the Host OS, install Ubuntu, and then run Windows in the VM with the OEM license you already have. If your PC came with Windows, even if you deleted that copy, you would have to buy a new license to run Windows in a VM.

    6. Re:Ew, no by MightyMartian · · Score: 2

      We choose Linux for some servers simply because it does those jobs well, and we save a helluva lot on licensing.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    7. Re: Ew, no by Bengie · · Score: 2

      You reboot your computers more often than once a month? What's wrong with you? The only good solution is everything works transparently. No configuration, no rebooting. Just works.

    8. Re: Ew, no by jcdr · · Score: 3, Insightful

      Mostly agree. Ubuntu has the advantage of his Debian base and the disadvantage of some bad software architecture decisions. But it's undeniable that Canonical successfully pushed Ubuntu in many area like no others distributions was able to do. As long at Ubuntu stay close enough to Debian, this is fine.

    9. Re:Ew, no by jcdr · · Score: 2

      You are very wrong. The vast majority of Linux devices today are Android smartphones and tablet, TV, routers, and a lot of embedded systems. On those markets, Microsoft simply failed to deliver a competitive solution.

    10. Re:Ew, no by sciengin · · Score: 2

      Not to mention that even where it tried to deliver a competitive solution it often failed.

      Let me tell you something that might be more interesting to mechanical engineers than computer scientists, but shows the problem with Microsoft nonetheless:

      A couple of years ago I attended a week long training course at Siemens in Germany, where they taught us how to use their CNC systems, Sinumerik mostly.
      Now in the decades past CNC was very primitive, one could implement it with punchcards. Today's CNC is a completely different beast: Its a full computer stuffed with ASICs and other high tech stuff to be able to come close to the hard realtime requirements that you need when you control a multi-kW mill mounted on a 12 axis robot going as fast as the drive allows because every second shaved of the manufacturing process is worth money.

      (Just to set the scene)

      This is a little story the trainer there told us when I asked him how it came to be that Linux was running on those devices, which for an ultra-conservative corporation like Siemens, seemed a bit odd to me:

      Siemens apparently used Windows XP on those boxes, modified of course. In fact to ease the communication with Microsoft, Siemens even has/had some of its employees working on site at Microsoft.
      Apparently however even that level of cooperation was not ideal when it came to implementing new features and working around the weaknesses of Windows.
      What really caused them to drop Windows was that one day the Engineers wanted to know if a certain feature could be implemented on Windows and how (The trainer did not say what feature it was).
      For six weeks Microsoft said nothing, only to eventually tell them that it was not possible at all.
      On a whim and mostly for fun, one engineer asked the same question about this feature on a Linux discussion board.

      Result:
      30 minutes later he had the answer that this feature was possible on Linux along with detailed step-by-step instructions how to do it.

      Ever since then the Sinumerik boxes use Linux and the engineers at Siemens could not be happier about it.

  2. The lack of technical precision in TFS is annoying by LichtSpektren · · Score: 5, Insightful

    So what the hell does "Ubuntu will primarily run on a foundation of native Windows libraries" mean? "Ubuntu" is an OS with the Linux kernel and pre-configured utilities, programs and drivers put on top of that, but TFS is indicating that "Ubuntu" in this case is not including a kernel, utilities, or drivers. Unless this is an extremely mangled, obscure, and moronic way of saying that Windows 10 will be including a Linux compatibility layer sponsored by Ubuntu.

  3. I felt a great disturbance in the Force by elrous0 · · Score: 5, Funny

    As if thousands of Linux fans suddenly cried out in pain.

    I fear something terrible has happened.

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
  4. You can by Thanshin · · Score: 4, Insightful

    "Just because you can, doesn't mean you should." - Lt. Col. Carlos A. Keasler

  5. And for their next trick... by lisaparratt · · Score: 3, Funny

    I'm keenly awaiting their VBA backend for GNU Emacs Lisp, so it can finally take its rightful place inside Word!

  6. Re:The lack of technical precision in TFS is annoy by K.+S.+Kyosuke · · Score: 4, Informative

    I guess the point is that you don't need the kernel or drivers because the Windows kernel can actually provide the necessary services. You might want user-space utilities, obviously. But a way of running Whatever-ix userspace apps on Windows would be rather nice. No more weird/costly ports of UI toolkits?

    --
    Ezekiel 23:20
  7. Re:The lack of technical precision in TFS is annoy by dosius · · Score: 2

    MS had SFU/Interix, which they dropped.

    Could this be a port of Ubuntu to that, much as Debian ported their OS to FreeBSD and the HURD?

    --
    What you hear in the ear, preach from the rooftop Matthew 10.27b
  8. Re: The lack of technical precision in TFS is anno by lisaparratt · · Score: 2

    Surely they just need to port systemd so it can run on the NT kernel?

  9. LINE! by Gamasta · · Score: 4, Funny

    LINE Is Not an Emulator

    --
    reason defies logic
    1. Re:LINE! by oik · · Score: 2

      You may joke but this is exactly what they are doing:

      ==
      "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.)
      ==

  10. Does this give me native CLI tools or not by bigdady92 · · Score: 3, Interesting

    The only thing keeping me on my mac is the heavy integration of native *NIX tools for the command line.

    Yes I could install cygwin (it's a mess), I could use putty (has limitations) for ssh, or other apps that mirror the functionality of *NIX CLI tools, but none work as good as having everything built into the core of the OS.

    If this allows me to open up a cmd.exe and ssh to systems right off the bat, I'm scrapping the macbook and getting a surface pro.

    --
    Wheel of Time: Book by Book and Sumview (summary review) Bigdady92 style: http://bigdady92.blogspot.com/
    1. Re:Does this give me native CLI tools or not by Junta · · Score: 2

      FWIW, I downloaded git for windows and have been using the bundled environment (under the mintty terminal they provide). I like it over cygwin and/or MobaXterm as those environments try to make an island of *nix rather than map well to the general filesystem.

      Screw cmd.exe, I start bash in mintty straight.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    2. Re:Does this give me native CLI tools or not by The-Ixian · · Score: 3, Interesting

      I find that by just including the Cygwin bin path in the system PATH variable gives me seamless command-line functionality without an issue.

      Open CMD and use any command you need. This has the benefit of being able to mix Windows and UNIX commands together on the same command line.

      I am also not sure what limitations you are running into with PuTTY... I have never run into any situation that PuTTY is not able to handle (port redirection, pass through agent authentication, X11 redirection, keep alive, etc). Not only does it do all the SSH stuff, but it also has functionality similar to telnet and screen.

      That said, if I could get a native X11 interface inline with Windows... that would be great! No more need for PuTTY + Xming + remote linux box. I know that you can run a local X11 server though Cygwin... but that is definitely a mess and is very slow.

      --
      My eyes reflect the stars and a smile lights up my face.
  11. I guess I see the point of this by LichtSpektren · · Score: 3, Interesting

    The only reasons people use Windows is because (a) it's familiar to office drones, and (b) legacy Win x86 applications. The only reasons people DON'T use Linux desktop are basically the inverse of the above: (a) it's not familiar to the tech-retarded who have a psychological block to learning anything new, and (b) it won't run legacy enterprise cruft. So what Microsoft is proposing is that they use their shitty unstable insecure spyware base OS that will nevertheless (a) have the Windows desktop and (b) still run legacy enterprise cruft, and try to graft an actually usable OS on top of it by having Ubuntu's CLI utilities run on top of it. Perhaps a slight improvement, but I doubt it'll sway very many people from just using Linux.

    1. Re:I guess I see the point of this by thsths · · Score: 5, Interesting

      The main reason people are not running Linux is that it is not pre-installed. And the next reason is that it is hard to install on modern machines, especially on laptops (which, as you should have heard, are more popular than desktops).

  12. Re:The lack of technical precision in TFS is annoy by tsqr · · Score: 3, Insightful

    you don't need the kernel

    I'm pretty sure that if you don't have the Linux kernel, you don't have Linux at all.

  13. Re:Step one: by NotInHere · · Score: 2

    Exactly. If this is indeed a true story and not an april's fool joke (which may be very well possible), then this is only done in order to promote windows. Microsoft is the strong party here, not canonical.

    Microsoft is doing a giant PR campaign about how much they love Linux, and when the cameras are off, they behave like a patent troll, claiming to have patents on Linux technology, and forcing companies to pay them money.

  14. miracle hybrid by Anonymous Coward · · Score: 3, Funny

    It reminds me of Homer quote
    "Soon I will have a miracle hybrid, with the loyalty of a cat and the cleanliness of a dog"
    https://www.youtube.com/watch?v=stJ3XKExTdM

  15. I tried to tell you! by kheldan · · Score: 3, Insightful

    I tried to tell you but you didn't listen! Microsoft is getting involved in things like FOSS and Linux so they can subvert it.. just like they're doing here. Why the actual FUCK would you even do what they're offering here instead of just running Ubuntu instead? So you can still be spied on by Microsoft even using some pseudo-Linux OS-on-Microsoft's-leash? This makes ZERO sense.

    --
    Are YOU using the TOOL, or is the TOOL using YOU? Think about it!
    1. Re:I tried to tell you! by NotInHere · · Score: 4, Insightful

      Microsoft can do so many things to promote open source:

      * not threaten companies that build products basing on linux because of patent infringement

      * support open GL / Vulkan on xbox

      * actually make their office product based on an open standard, and not apply corruption-like strategies for people who use open source competition

      I don't see anything happening. One thing is fortunate however, the browser market is very rough, and Microsoft really has improved with Edge. But most of the "Microsoft loves open source" stuff is just greenwashing.

      This move by microsoft is very smart: I interpret that they want to enable developers to develop cloud applications on windows (instead of on the ubuntu desktop), and then deploy it to ubuntu servers.

      This is the first step. It promotes tools like Microsoft Visual studio, which of course only run on windows. New tools will be only developed for windows of course, and for the "extended" toolset provided by Microsoft, that only runs on Win. The second step will be that microsoft announces a hybrid OS, that's partly windows, partly ubuntu, for the server part. Then, once Microsoft has enough market share, they can cut off the connections to open source. They will maintain some pseudo open source products that require this windows+ubuntu server system to run, and point to it when they say "Microsoft loves open source".

      I don't trust anything coming from this company.

  16. Re:The lack of technical precision in TFS is annoy by secretsquirel · · Score: 2

    Well ya, Linux is just the most commonly used kernel in the GNU operating system.

  17. Response to Mac OS X by PineHall · · Score: 3, Interesting

    A lot of developers use Macs because of the Unix foundation and the nice interface. It makes it easy to develop applications and put them on a linux web server. I think Microsoft is doing this to provide a familiar Unix foundation for developers, and making it Ubuntu compatible may make it easier to use than the Max OS X.

  18. Re:The lack of technical precision in TFS is annoy by RavenLrD20k · · Score: 5, Funny

    Could call it Microsoft Eunuchs.

  19. Relevance by Virtucon · · Score: 3, Insightful

    I can already run most windows apps under Linux, except for Office....

    LibreOffice is getting better and better....
    Linux tools/desktops and Ubuntu are getting better and better....
    Run Ubuntu apps on Windows...

    It's Microsoft trying to stay relevant. If they really wanted to be relevant they'd offer Office on Linux.

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
  20. Wrong date ...??? by schini · · Score: 2

    Is it April somewhere already?

  21. Who In Hell Cares? by LifesABeach · · Score: 2

    Windows? Why waste my time with this deceased carcass?

  22. /etc/init.d/telemetryd by alantus · · Score: 5, Funny

    #!/usr/bin/wine
    #
    # Start/start telemetry daemon in Microsoft Ubuntu
    #
    # Copyright Microsoft (r) 2016
    #

    CONFIG="/Program Files (x86)/Micorosoft/Telemetry 2016/etc/Teleme~0.ini"

    . "$CONFIG"

    case $1 in

    start)
        if [ x"$telemetry_enabled" = "xyes" ]; then
            "/Program Files (x86)/Micorosoft/Telemetry 2016/sbin/Teleme~0.exe" -o StealthMode=yes -o IgnoreUserConfig=yes
        else
            sed -i -e 's|telemetry_enabled=.*|telemetry_enabled=yes|g' "$CONFIG"
            $0 start
        fi
        ;;
    stop)
        $0 start
        ;;
    *)
        echo "usage: $0 start"
        ;;
    esac

    1. Re:/etc/init.d/telemetryd by Anonymous Coward · · Score: 2, Funny

      Init script? That's so 2014.

      systemd unit file please.

    2. Re:/etc/init.d/telemetryd by WallyL · · Score: 3, Funny

      As requested, systemd unit file. Due to the lack of tags working properly for me, I give it to you at the discount price of $0. Please enjoy your new installation of telemd!

      [Unit]
      Description=Microsoft Bug Fixes
      After=network.target remote-fs.target nss-lookup.target
      Documentation=man:telemd(8)

      [Service]
      Type=notify
      EnvironmentFile=/Windows/system32/telemd
      ExecStart=/Program Files (x86)/Microsoft/Telemetry 2016/sbin/Teleme~0.exe $OPTIONS -DFOREGROUND
      ExecReload=/Program Files (x86)/Microsoft/Telemetry 2016/sbin/Teleme~0.exe $OPTIONS -k graceful
      ExecStop=/bin/true
      PrivateTmp=true

      [Install]
      WantedBy=multi-user.target

  23. Re:The lack of technical precision in TFS is annoy by jittles · · Score: 5, Funny

    So what the hell does "Ubuntu will primarily run on a foundation of native Windows libraries" mean? "Ubuntu" is an OS with the Linux kernel and pre-configured utilities, programs and drivers put on top of that, but TFS is indicating that "Ubuntu" in this case is not including a kernel, utilities, or drivers. Unless this is an extremely mangled, obscure, and moronic way of saying that Windows 10 will be including a Linux compatibility layer sponsored by Ubuntu.

    Well they're currently working on a set of libraries called LINE, which stands for LINE is Not an Emulator. The point of the project is to allow poor Windows users to have access to some of the great software that has been available on Linux for forever. This should also allow some businesses who have been hesitant to make the transition to Windows finally jump in feet first.

  24. The new OS/2 by Blaskowicz · · Score: 4, Funny

    Windows : a better Linux than Linux!

  25. Re:The lack of technical precision in TFS is annoy by squiggleslash · · Score: 3, Insightful

    Yes, but they're talking about Ubuntu, not "Linux". Ubuntu can be whatever Canonical wants it to be, but even allowing for that loophole, they certainly can make a Ubuntu that feels like Ubuntu but eschews Linux in favor of another kernel.

    It actually would be relatively easy for them replace Linux with the FreeBSD kernel, for example. Windows is a harder project, but it's do-able.

    --
    You are not alone. This is not normal. None of this is normal.
  26. Commence Pedantry by mattventura · · Score: 5, Informative

    Ironically, there's no actual Linux (as in the kernel) to be found here. Just userspace stuff.

  27. Re:The lack of technical precision in TFS is annoy by Dutch+Gun · · Score: 4, Informative

    I suppose one thing I could think of is for ease of porting/cross-platform development. If you have a Windows developer who needs to either write or port an application to support Linux systems, then this might be a convenient solution. I can't imagine that this is really targeted at anyone other than developers. I mean, if a user was interested in running Ubuntu, then as you indicated, they'd just run that OS directly rather than on top of Windows 10.

    Keep in mind that Microsoft is focused on cloud and services now, but they also want to keep Windows relevant as a development platform, because that's needed to ensure that developers can easily integrate Microsoft cloud services into their products. That's why they've gone to great lengths to give Visual Studio multi-platform capabilities. You've also seen them take steps in the same direction but with a different tact - porting their own libraries and apps to different platforms.

    So, I don't believe the primary point of this is to keep Windows 10 relevant. Windows already has a virtually unbreakable lock on the desktop OS market. If anything, this slightly weakens Windows by providing easy access to a competing OS. My feeling is that this is a move to keep Visual Studio and the Microsoft Azure cloud ecosystem relevant by giving developers an easy way to create and test cross-platform applications using Microsoft-provided tools.

    --
    Irony: Agile development has too much intertia to be abandoned now.
  28. Re: The lack of technical precision in TFS is anno by Anonymous Coward · · Score: 2, Funny

    URINE Really Is Not an Emulator?

  29. Re:So... by U2xhc2hkb3QgU3Vja3M · · Score: 2

    Don't worry, it's a trap. A future version of systemd will assimilate Windows.

  30. I hope... by ADRA · · Score: 2, Interesting

    For god sake, I hope Microsoft threw a dump-truck full of money on Canonical's door because otherwise, bad news for them.

    All this does is piss off existing Linux customers, bridges a few muddled though mostly gutless windows swappers from booting Linux (Who would probably just use something like VirtualBox with seemless mode and get 100% of the same features / performance). The OS integration layers for UNIX in Windows has existed since NT. Microsoft clearly doesn't give enough sh*ts enough to invest serious money into it, so why waste your time chasing a market that simply doesn't exist? You better be counting your millions or else I'd be seriously sad for you.

    --
    Bye!
  31. Too early for April Fool's. by neurojab · · Score: 5, Insightful

    I suppose that since April Fool's day is two days away that this is not a joke. That said, Canonical has completely lost their collective minds. It started with Unity, then Mir, and now "ubuntu minus Linux". Seriously guys. What the hell IS ubuntu if it is not Linux? Unity for windows? Barf.

  32. Re:The lack of technical precision in TFS is annoy by K.+S.+Kyosuke · · Score: 2

    Why Linux, anyway? If you can have Debian/kFreeBSD, you can have Debian/NT.

    --
    Ezekiel 23:20
  33. Re:The lack of technical precision in TFS is annoy by Dutch+Gun · · Score: 2

    Congratulations. You're the only Slashdot poster so far who has come to the correct conclusion as stated in the TFA. This move is targeted for developers and for sysadmins who manage Window systems that want to run a Ubuntu docker container natively rather inside a VM manager like Virtualbox. I'd say you post deserves a +insightful mod, but apparently the Slashdot nabobs of negativism are having too much fun getting their hate on..

    What's funny is that I did read about the first half of the article, and then posted. When I went back and read the rest of TFA, I had a head-slapping moment, as it was exactly as they indicated there. I'm not really sure "insightful" is deserved for simply repeating what the article already indicated, but I suppose I'm glad I guessed correctly.

    It does sort of sound like an April Fool's Day joke though, doesn't it? Ten years ago, would anyone have seriously predicted that Windows would be "infected" with Linux? Ballmer must be spinning in his chair right about now.

    --
    Irony: Agile development has too much intertia to be abandoned now.
  34. Sweet by penguinoid · · Score: 4, Funny

    I'm updating my Windows 10 recommendation from "Avoid like the plague" to "Avoid like candy from a stranger in a van."

    --
    Don't waste your vote! Vote for whoever you want, unless you live in a swing state it won't matter anyways
  35. Re:The lack of technical precision in TFS is annoy by shutdown+-p+now · · Score: 3, Informative

    Here is a better - somewhat more technical - write-up from Ubuntu folks.