Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
1–10 of 148 posts
Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#2file htop returns
htop: Mach-O 64-bit executable arm64
So this version of brew is compiling native arm64 code.
Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#3Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#4Huh, so Apple is installing both the ARM and x86 version of apps, even on ARM computers. I guess that makes sense for portability, but I don't know if other parts of the root filesystem are one architecture only, such as the path to the kernel (unless that's a fat binary too?).
Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#5Apologies for being off-topic.
Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#6I just installed Homebrew on my new m1 MacBook Air with:
$ arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in...)"
Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#7Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#8There's also the "arch" command, to run commands under rosetta2 I just installed Homebrew on my new m1 MacBook Air with: $ arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in... )"
Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#9There's also the "arch" command, to run commands under rosetta2 I just installed Homebrew on my new m1 MacBook Air with: $ arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in... )"
Does this make brew compile subsequent binaries in x86 though? Or is it purely cosmetic.
Re: Run x86 Apps (including homebrew) in the Terminal on Apple Silicon
#10Earlier quoted context omitted.
Does this make brew compile subsequent binaries in x86 though? Or is it purely cosmetic.
Homebrew maintainer here. We don’t officially support Big Sur yet, but installing it via Rosetta will cause it to fetch x86 bottles instead of ARM ones. At least, that’s the plan.