Live data from Hacker News

Ubuntu on Windows

blog.dustinkirkland.com

181–190 of 933 posts

Re: Ubuntu on Windows

#181
post #175

Earlier quoted context omitted.

Looks like they are launching ELF files, then translating the linux syscalls to WIN32API calls at runtime.

The link you posted is the original article at the top of this HN thread.

Oh, you're right, I messed up.

Re: Ubuntu on Windows

#182
post #69

Earlier quoted context omitted.

You can run any* Linux binary on WinLS, including apt-get in the Ubuntu rootfs. * within the probably surprisingly broad limits of the WinLS syscall emulation, though it wouldn't support niche OS config stuff, SELinux calls, etc.

So I can install apt then install apps like Firefox, Thunderbird and run them that way instead of using Windows binaries? Interesting ...

I haven't read anything that indicates that it will support GUI apps, but anything purely CLI based should work.

Re: Ubuntu on Windows

#183

Earlier quoted context omitted.

I've been "stuck" with a 2010 Macbook since Apple isn't refreshing it's laptop hardware soon enough. Plus I'm sick of soldered in RAM and other BS. For devs that do heavy Linux work (but have stuck with a Mac OS for GUI/app reasons), is it time to move (back) to Windows? If so, what would be a good laptop to get at the moment?

Dell's Inspiron line is my go-to for portable workstations. Run Linux straight on them, or if GNOME/KDE aren't your cup of tea just run Windows and put your distro of choice in a VM (I just run Fedora on everything but my gaming PC, personally). I'm personally using a Dell XPS 13 (2014), soldered in RAM, but I did buy an ultraportable and 8GB is more than sufficient to do my all my personal work on. Work supplied me…

I don't have hands on experience, but Dell XPS 15 looks like an interesting option for thoaw looking for Windows laptop that is close to 15" Macbook Pro (quad core, sleek etc).

Re: Ubuntu on Windows

#184
post #74

So it's like Wine in reverse. Is it FOSS?

This is a "Windows Subsystem" implementation. There are no open subsystem implementations and it hasn't been documented. Therefore it's a little far-fetched that they would release this as open source. Not impossible though.

Re: Ubuntu on Windows

#186
post #5

> Windows 10 users > Can open the Windows Start menu > And type "bash" [enter] > Which opens a cmd.exe console Right... Bash is a shell, but your interaction with it is controlled by a terminal program. Unless there are some real changes to cmd.exe t̶h̶e̶n̶ ̶i̶t̶'̶s̶ ̶n̶o̶t̶ ̶t̶h̶a̶t̶ ̶i̶m̶p̶r̶e̶s̶s̶i̶v̶e̶ . You can compile a native bash and other utils now yourself, it's not that hard. EDIT: It's more like a Linuxul…

If you just need bash on windows installing Git is the easiest way.

It's not about bash on windows, it's about any Linux command line tool on windows (in bash).

Re: Ubuntu on Windows

#187
post #90

Earlier quoted context omitted.

I completely agree. I only really switched to OSX because getting node tools to work on windows and cygwin is a pita.

I've been "stuck" with a 2010 Macbook since Apple isn't refreshing it's laptop hardware soon enough. Plus I'm sick of soldered in RAM and other BS. For devs that do heavy Linux work (but have stuck with a Mac OS for GUI/app reasons), is it time to move (back) to Windows? If so, what would be a good laptop to get at the moment?

Thinkpad T460s. I have the T450s and like it plenty. It's definitely up there with macbook build quality.

Re: Ubuntu on Windows

#188

I am a little annoyed at myself. One of my 5 laptops is a HPStream 11 that was running Windows 10 until a few months ago when I wiped the disk and installed Ubuntu. Windows 10 is not bad at all, and I would have enjoyed keeping a Windows 10 machine handy with the new Ubuntu user land support.

AFAIK, Windows 10 registration amounts to generating a hash based on your hardware and storing it online. If you reinstall Windows 10 now and try to register again (and have not updated the hardware, e.g. replaced the hard drive), the same hash will be generated again and your machine will be recognized as already registered. So there should be no extra license cost involved.

Re: Ubuntu on Windows

#189

I don't get it. What's the use case for a few core utilities running natively?

I'm with you. Interesting novelty, but I would absolutely not bank on doing anything missions critical with this. Wait 5 years for the excitement to die down and lets see if the team stuck maintaining this is even going to be around anymore. Are they committing to keeping the syscall translation layer up to date with changes in later kernels, etc? Or is this going to turn into another 'You can run Android apps on Win…

... what changes in later kernels?

Remember the holy edict of Linux kernel development: you don't break userspace.

Re: Ubuntu on Windows

#190
Coincidentally I've spent the past week re-learing how to develop on windows. I wanted to avoid cygwin if possible, but the experience has been painful. I had some hope for Chocalatey, and it seemed encouraging that MS had ported OpenSSH over, but my first ssh to a Byobu session on Ubuntu was disastrous... I'm sure there is some TERM parameter I can fiddle, but I don't know what or where in 5 minutes of searching. I needed "grep", so I tried "choco search grep", and there are a dozen choices for grep-like tools.... with GUIs, written in Perl,... oh christ.
Post reply on HN