Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

51–60 of 434 posts

Re: Bash on Ubuntu on Windows

#51
post #7

What a time to be alive! I'm holding out on upgrading to Win10 until I buy a new PC since my 7 -> 10 upgrade ties to hardware, but I hope to have that done by the end of next month. I can't wait to try this out. edit: Specifically, I want to understand to what extent - if any - will it allow some of the horror problems you have working with certain Python libraries (compiling Numpy on Windows is like pulling teeth) t…

It's already a thing of the past. Since numpy & co got packaged as binaries in .whl wheels, you can just pip install them on windows.

Re: Bash on Ubuntu on Windows

#52
post #35

Earlier quoted context omitted.

Command prompt should run the windows version and bash should run the linux version. Why would there be an issue here?

Exactly. The Linux file system will have Windows mounted into it but I think Windows won't be able to see the Linux filesystem. We will see.

[deleted]

Re: Bash on Ubuntu on Windows

#53
post #49

I am a little scared from the distinction we are start to make between "computers" and "developers' computers" In most computer nowadays you cannot code (tables and smartphones), are computers doomed to be an expensive tool for few "nerd" ? What will be the impact on computer literacy ?

Here's my blogpost on this from 5.5 years ago http://drupal4hu.com/future/freedom.html

Re: Bash on Ubuntu on Windows

#54
post #49

I am a little scared from the distinction we are start to make between "computers" and "developers' computers" In most computer nowadays you cannot code (tables and smartphones), are computers doomed to be an expensive tool for few "nerd" ? What will be the impact on computer literacy ?

Well, because we are on an ubuntu thread, I will link you those just for the fun ;)

http://www.ubuntu.com/tablet/developers https://plus.google.com/u/0/105864202742705090915/posts/jNvZ...

Re: Bash on Ubuntu on Windows

#56
post #23

Maybe it's because I haven't been following this very closely but I'm confused. Does this mean I can do things like compile Haskell or OCaml from terminal as easily as I do on my Linux install? Can I use apt-get?

Yes, that's the plan. This is a syscall translation layer. In theory everything should run -- or most. I would not expect wireshark to run for example but I have very high hopes for autossh for example because Scott Hanselman have shown Redis running so higher level networking is there. You might need http://www.straightrunning.com/XmingNotes/ for GUI.

This is really good news. I rushed through my new laptop purchase and forgot to check the wireless card. Turns out the linux driver for my Realtek wifi causes a soft CPU lock up so I've been stuck on Windows 10 and doing work in a VM. Not nearly as fast and smooth.

Re: Bash on Ubuntu on Windows

#58
post #45
post #41

Earlier quoted context omitted.

I'm using it on my tablet instead of previously using a VMWare image and msys+mingw+cygwin. The main advantage over a VM is no resource partitioning: on a 4GB RAM tablet with 64GB eMMC, you can't allocate more than 2GB RAM to a VM without trouble, and putting 20GB of disk aside for it is also a pain., and much improved power efficiency (even an idle VM drastically reduces battery life, while Ubuntu for Windows doesn'…

since you are already up and running may I ask what friends have been asking me? Can you apt-get install zsh ?

Ask away. I don't have the tablet with me, but I can answer what I know so far.

I haven't tried zsh, but I'm pretty sure you can install it. I installed a bunch of applications, including using third party repos and ppa's. I don't see why zsh would not work.

Perhaps zsh uses some unsupported escape sequences (for instance, screen doesn't seem to work), but you can readily work around that by using another terminal in windows (mintty) or launching a VNC server from Linux and a VNC client to your localhost I assume.

Re: Bash on Ubuntu on Windows

#60
post #30

- Does ls -li (show/emulate inode number ? I don't know whether NTFS has inode number or not) - Find with exec , xargs is supported?

    1125899906857921 -rwxrwxrwx 1 root root 21 Apr  7 07:56 test2.txt
    562949953436608 -rwxrwxrwx 1 root root 13 Apr  7 07:56 test.txt
Two files created seconds apart. Some sort of internal NTFS construct, maybe?
Post reply on HN