Hacker News new | ask | show | jobs
by Aperocky 2046 days ago
That's not needed though, I manually extracted brew to /opt/homebrew per https://docs.brew.sh/Installation, and it works just fine in the native terminal.

file htop returns

htop: Mach-O 64-bit executable arm64

So this version of brew is compiling native arm64 code.

3 comments

Keep in mind that if you're using a Homebrew version of something Apple ships with macOS, for now, you'll get x86-64 binaries while Apple's version is a universal app and will run natively on the M1.

Zsh from Homebrew: /usr/local/bin/zsh: Mach-O 64-bit executable x86_64

Apple's Zsh:

    /bin/zsh: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit
    executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
    /bin/zsh (for architecture x86_64): Mach-O 64-bit executable x86_64
    /bin/zsh (for architecture arm64e): Mach-O 64-bit executable arm64e
The Homebrew team is making progress; I've been seeing Big Sur "bottles" for a couple of days now.
That's good to know, have any of you tried bash? Bash for some reason can't be launched on multiple terminals and if tried it crashes.
No, not even close. There is more that doesn't work than works. Of what I use, all I got was python3 and git. But no python3.8, no ffmpeg, no erlang, no gnutls, and on and on.

https://github.com/Homebrew/brew/issues/7857

There is no need of homebrew to install ffmpeg on Apple Silicon. I could just ./configure and make on the DTK.

ffmpeg has so many configure options, I always avoid building it with brew.

Not all of the dependencies are ready (most notably, gnutls won't yet compile), so it would be the same result.

And for what I do, the default ffmpeg in Homebrew works fine.

I looked through brew.sh. Apologies if I'm missing something, but I don't think I am.

There's something really offensive about apple being too cheap to just pay some homebrew devs. And dumping the work of the arch swap onto charity effort.

I just linked you to the official page which shows what works and what doesn't work, and your response is that you're still right and everything works?
x0x0 sees that much is not working yet and it’s sad that Apple does not help by financing the effort.
Maybe try reading what I wrote.
It doesn’t look like it’s fully baked yet.

https://github.com/Homebrew/brew/issues/7857

Yes I received very specific warning that I'm in uncharted waters.

But I still wanted ARM binaries, the ones I did (htop, imagemagick, tmux etc) all worked.

* not fully fermented
Fully brewed?
Hopfully it’ll be ready soon.