6 ms·
Yes. You can install the Linux subsystem see https://docs.microsoft.com/en-us/windows/wsl/install-win10 https://docs.microsoft.com/en-us/windows/wsl/install-win
by VirgilShelton 8y ago
Yes. You can install the Linux subsystem see https://docs.microsoft.com/en-us/windows/wsl/install-win10 https://docs.microsoft.com/en-us/windows/wsl/install-win10
Or you can install a Linux virtual machine with Hyper-V on Windows 10 see https://m.windowscentral.com/how-run-linux-distros-windows-10-using-hyper-v https://m.windowscentral.com/how-run-linux-distros-windows-1...
- ognarb 8y ago'Linux subsystem' don't include the linux Kernel, just some gnu tools.
- hellcow 8y agoThat's a bit disingenuous. It includes the entire userspace of whatever distro you want.
- umanwizard 8y ago> userspace So, not Linux.
- jamesgeck0 8y agoAs a reimplementation of the kernel APIs on top of the NT kernel, it's not the Linux kernel, but it is more than just some GNU tools. In theory, eventually nearly any Linux application should be able to run on WSL.
- _wmd 8y agoI daresay the Ubuntu userspace WSL ships with absolutely eclipses the kernel in terms of lines of code. For all intents and purposes it's another Linux distro, essentially with just one or two core packages swapped out. Excluding drivers, documentation and non-x86 arch code, Linux is "only" 173mb of uncompressed source (39mb gzipped). The Debian source repository is 103GB compressed, or, put another way, the replaced code amounts to about 0.03% of what makes up Debian.
- umanwizard 8y agoThis might be true but what does it matter? It would in theory be totally possible with enough work to make Ubuntu run on the FreeBSD kernel, does that mean FreeBSD is Linux?
- _wmd 8y agoTurning that on its head, if you removed all of userspace and just left the kernel, would it be truthful to call what remains Linux? I'd say in common parlance that is what's called "the Linux kernel", and what people mean when they say Linux more thoroughly refers to the work of distributions than it has anything to do with the kernel Linux of the early 00s was popularized on a platform of "Linux is about freedom, Linux is about choice". At least one half of that is entirely due to the distributions.
- umanwizard 8y agoYou're right from a user perspective, sure. From a programmer's perspective, you are writing a program which interacts with the world by making system calls to the kernel. So the kernel is fundamentally more relevant than the fact that the system is running Wayland and comes with LibreOffice.
- scardine 8y agoThe Linux Subsystem for Windows is good enough for my software development needs - the Docker Engine does not run in WSL but you can tell the Linux docker client to use the Windows server by setting an environment variable: export DOCKER_HOST=localhost:2375
- umanwizard 8y agoOkay, what is your point? Whether it's good enough for your needs is unrelated to whether it's Linux.
- scardine 8y agoThe point is that unless you are fiddling with the kernel, a Windows laptop with WSL makes for a great workstation for software developers. Even if I only develop for Linux, for me it is either a Mac or Windows on the desktop (my pet peeve with Linux on the desktop is the several counterintuitive paste buffers).
- shmerl 8y agoThe question really is about Linux proper, not about Linux subsystem or VMs. Can it run Linux on the hardware itself, without jumping through lock-in hoops and other hiccups?
- raesene9 8y agoPeople have and you can install Linux distros directly onto surface hardware, but personally I wouldn't recommend it. If you want Linux hardware get something that's designed to be shipped with it , so in mainstream land a XPS13 Developer edition or if want something from a vendor focused on Linux System76 or Purism. That said for many "linux" use cases, WSL works just fine. I use it a lot for developer/ssh use cases. Also Windows 10 Hyper-V now has better support for Linux guests so things like clipboards and shared drives can work more smoothly.
- shmerl 8y agoSure, I wouldn't recommend it either, just trying to understand the level of compatibility it has. I prefer to assemble my own desktop systems, so hardware selection is a different process in such case. As for laptops, I'd go for something with Ryzen+Vega APU. Purism doesn't offer such options.
- craftyguy 8y ago> Yes. You can install the Linux subsystem So the answer is 'no, it cannot run linux' then?
- ddorian43 8y agoTLDR: No.