Running installation under Rosetta still tries to install to /opt/homebrew #502
Replies: 4 comments 6 replies
-
I just tried in the default Terminal, running: arch -X86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Got the same password prompt and then it tried installing into /opt/homebrew. I do have: eval $(/opt/homebrew/bin/brew shellenv) in my .zshrc file, so wasn't sure if that's causing some kind of override or something. |
Beta Was this translation helpful? Give feedback.
-
Looking at the current installer script:
|
Beta Was this translation helpful? Give feedback.
-
Yes, but it uses uname -m to determine the architecture. If I run arch
-X86_64 /bin/bash and issue a uname -m it shows i386. So, I am confused as
to why I cannot get it to install the Intel based Homebrew.
…On Sun, Jan 10, 2021 at 10:56 PM Adrian Ho ***@***.***> wrote:
Looking at the current installer script:
- it always installs to /opt/homebrew on ARM-based Macs
- this is not negotiable
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#502 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAL2TCLWTMOY4TDOEVVA55TSZKOJPANCNFSM4V5DG5HA>
.
|
Beta Was this translation helpful? Give feedback.
-
Hi, I don't know if this would help, but I have the arm-native installed in opt, and I could get a second version installed into usr/local through the following steps:
|
Beta Was this translation helpful? Give feedback.
-
Hello All,
I have a new M1 Mac Mini and have the Arm64 version of Homebrew installed just fine. Thanks for everyone's hard work on this...very impressive how quickly the amount of work that has been. However, there are a few apps that I would like to run that have not had their formula ported over, so I would like to have a Rosetta based install.
I use iTerm 2 Beta, which is a native Arm build. I've tried both copying the iTerm app and setting the copy to run under Rosetta and I've also tried the arch -X86_64 pathway to get Homebrew Intel installed under Rosetta. Every time I try to run the installer, I get a prompt for my password and it attempts to install in /opt/homebrew instead of /usr/local. When I run the arch command, it says i386. However, the uname -m says arm64 regardless, so I understand why the shell script sets it to install to /opt/homebrew.
As I'm writing this, I'm wondering if the issue is the native Arm64 build of iTerm. Or can we just not run under Rosetta any longer?
Thanks,
Andrew
Beta Was this translation helpful? Give feedback.
All reactions