TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

macOS Subsystem for Linux

253 pointsby dzdtover 2 years ago

24 comments

Hackbratenover 2 years ago
Because we’re not saying it often enough: Kudos to the author for going out of their way and writing <i>meticulously detailed step-by-step instructions.</i><p>That README shows a great deal of appreciation for other people’s time, which should be commended.
评论 #32898569 未加载
评论 #32899558 未加载
评论 #32897768 未加载
highwaylightsover 2 years ago
The problem with each of these tools (Lima etc.) is that it’s still fundamentally a virtual machine under the covers.<p>The great thing for me about WSL (and why IMHO it was worth all the effort they put into it), is that because the kernel process tree is running as a native Windows process tree, I don’t have to pre-allocate memory ahead of time.<p>This is murder on Apple’s RAM-restricted laptops, and kind of rubbish on machines with massive RAM too. Most of the time, most of your memory goes unused. The base model Airs&#x2F;Pros for example need to have 25-50% of your RAM locked away just to run a Linux container at all - when you already have a fairly anaemic 8GB to begin with that’s pretty dire.
评论 #32896819 未加载
评论 #32897032 未加载
评论 #32905499 未加载
评论 #32897529 未加载
drekipusover 2 years ago
I thought it was &quot;macOS subsystem, for Linux&quot; and got excited before realising it&#x27;s the other way around.<p>What do Mac users get out of this? I thought most Linux things work reasonably well already
评论 #32894692 未加载
评论 #32898262 未加载
评论 #32895394 未加载
评论 #32896744 未加载
评论 #32898175 未加载
cookiengineerover 2 years ago
Is there a Linux Subsystem for MacOS?<p>I know about Darling [1] but don&#x27;t know about how practical it can be because I&#x27;m assuming all proprietary frameworks like the core web framework aren&#x27;t implemented there.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;darlinghq&#x2F;darling" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;darlinghq&#x2F;darling</a>
pickleMeTimbersover 2 years ago
This is also achieved through:<p>1) <a href="https:&#x2F;&#x2F;github.com&#x2F;lima-vm&#x2F;lima" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lima-vm&#x2F;lima</a> 2) <a href="https:&#x2F;&#x2F;github.com&#x2F;beringresearch&#x2F;macpine" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;beringresearch&#x2F;macpine</a><p>With a nice CLI included.
评论 #32896764 未加载
philshemover 2 years ago
Multipass is an option for Ubuntu on MacOS<p><a href="https:&#x2F;&#x2F;multipass.run&#x2F;" rel="nofollow">https:&#x2F;&#x2F;multipass.run&#x2F;</a>
评论 #32896564 未加载
评论 #32912720 未加载
评论 #32899080 未加载
评论 #32896535 未加载
nottorpover 2 years ago
Anyone else reading the title as the reverse of what it actually is?<p>I thought it&#x27;s something for running (some parts of) MacOS on Linux. Not the other way round.
评论 #32897050 未加载
评论 #32898600 未加载
评论 #32897044 未加载
classifiedover 2 years ago
Oh, no, not more of this backwards mis-naming illogic. It&#x27;s bad enough that MS abuses us with such idiocy, we don&#x27;t have to copy it.
评论 #32895480 未加载
评论 #32894631 未加载
WuRB3u27qAqegA8over 2 years ago
I suspect you can get rid of all the post-install steps by just installing it over a serial console in the first place (`-nographic` might even make it all automatic, I dunno). See f.e. <a href="https:&#x2F;&#x2F;www.debian.org&#x2F;releases&#x2F;stable&#x2F;i386&#x2F;ch05s03.en.html" rel="nofollow">https:&#x2F;&#x2F;www.debian.org&#x2F;releases&#x2F;stable&#x2F;i386&#x2F;ch05s03.en.html</a> <a href="https:&#x2F;&#x2F;teklager.se&#x2F;en&#x2F;knowledge-base&#x2F;installing-debian-over-serial-console-apu-board&#x2F;" rel="nofollow">https:&#x2F;&#x2F;teklager.se&#x2F;en&#x2F;knowledge-base&#x2F;installing-debian-over...</a>
saagarjhaover 2 years ago
See also: <a href="https:&#x2F;&#x2F;github.com&#x2F;linux-noah&#x2F;noah" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;linux-noah&#x2F;noah</a>
评论 #32896866 未加载
lapserover 2 years ago
You can just use Vagrant for this kind of setup. The benefit of that is you can provision so it is able to run your application and you&#x27;re able to commit it to git and share it with others. Pretty sure it will have a qemu adapter too if you so choose.
评论 #32895470 未加载
jrm4over 2 years ago
Ha: I appreciate having to give it the stupid backwards name because that&#x27;s what MS did, but unfortunately it&#x27;s still a stupid backwards name.
jokethrowawayover 2 years ago
This is a qemu tutorial with a flashy name.<p>You probably want Lima anyway
评论 #32894900 未加载
solarkraftover 2 years ago
What makes this better than Lima?<p>Not that I&#x27;m trying to discourage anything here, building things is cool.
dzsekijoover 2 years ago
I use Xhyve to spawn a Linux VM on Mac. For what I need it works well, so I haven&#x27;t looked for alternatives. How that compares to Qemu?
shmerlover 2 years ago
It&#x27;s a poorly chosen name, same as in &quot;Windows subsystem for Linux&quot;.<p>It should be called Linux subsystem for macOS if they really need such kind of combination.
评论 #32896773 未加载
评论 #32894891 未加载
monster2controlover 2 years ago
I just don’t see why this is needed.<p>Almost everything on Linux has a homebrew version available.<p>Perhaps it could be helpful for pure development needs. I guess.
enmityover 2 years ago
It will be a while before we&#x27;re able to have decent support. This is an interesting initiative to follow: <a href="https:&#x2F;&#x2F;macoscontainers.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;macoscontainers.org&#x2F;</a>
MuffinFlavoredover 2 years ago
Might be even easier to provide (hopefully trustworthy and safe) `msl.qcow2` Debian images with the installation and `GRUB` modifications already done?
simonblackover 2 years ago
Is there a call for MSL, seeing that MacOS is based on BSD UNIX? Wouldn&#x27;t there be a lot of redundancy in having both?
MR4Dover 2 years ago
My personal favorite on the page:<p>“ Q: You&#x27;re an idiot.<p><pre><code> A: Very true, but that&#x27;s not a question. “</code></pre>
jeroen79over 2 years ago
This should be called linux subsystem for macOS not the other way aroud.
Kukumberover 2 years ago
Why reuse the horrible name microsoft uses to describe using a VM?<p>I&#x27;m loosing hope for anything tech related these days, just bad and concerning
Fnoordover 2 years ago
The WSL naming is terrible and stems from a time where Microsoft was an evil monopoly empire, and used all kind of doublespeak regarding Linux, GPL, etc (see Halloween documents). The name stems from its predecessor, Windows Services For Unix (SFU) [1]. Its bad enough Microsoft kept using the doublespeak naming scheme, please don&#x27;t copy it.<p>What this is, is Linux compatibility layer (running on MacOS). BSDs have (or used to have) such as well, at least FreeBSD used to.<p>[1] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Windows_Services_for_UNIX" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Windows_Services_for_UNIX</a>