Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!

For what it's worth, before installing Homebrew you will need to install Rosetta2 emulator for the new ARM silicon (M1 chip). I just installed Rosetta2 via terminal using:

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

This will install rosetta2 with no extra button clicks.

After installing Rosetta2 above you can then use the Homebrew cmd and install Homebrew for ARM M1 chip:  arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Once Homebrew for M1 ARM is installed use this Homebrew command to install packages: arch -x86_64 brew install <package>
Comment

Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!

Mac M1 install any package using homebrew command: 
arch -x86_64 brew install <package_name>

https://facebook.com/swdrana
https://github.com/swdrana
Comment

brew Cannot install on Intel processor in ARM default prefix (/opt/homebrew)!

If you moving from M1&M2 to intel 

If you still have access to the M1 Mac:

On the M1 Mac, run brew bundle dump and copy the resulting Brewfile to your Intel Mac
On the Intel Mac
Remove /opt/homebrew
Install brew using the instructions on brew.sh
Run brew bundle install --file /path/to/Brewfile to reinstall packages
If you don't have access to your M1 Mac any longer, run ls /opt/homebrew/Cellar on the new Mac to get a list of installed packages, followed by step 2.1 and 2.2 from above. Then manually install the packages again.
Comment

PREVIOUS NEXT
Code Example
Shell :: How To Make Log File On Batch Script 
Shell :: how to activate conda/Anaconda environment 
Shell :: how to delete remote file locally on git 
Shell :: download directory ssh linux 
Shell :: ubuntu useradd 
Shell :: samba check config 
Shell :: git create branch without initial commit 
Shell :: create json from terminal 
Shell :: how to undo a bunch of commit sent that was pushed 
Shell :: git revert to last commit on remote branch 
Shell :: deploy django site to aws 
Shell :: git hub new repo 
Shell :: What commands would you use to force an overwrite of your local files with the master branch? 
Shell :: bash read file 
Shell :: git clone with branch name command 
Shell :: permission denied 
Shell :: bash start two processes at the same time 
Shell :: git https basic access denied 
Shell :: linux how to execute a script 
Shell :: openldap install centos 8 
Shell :: centos 8 gui 
Shell :: openjdk-17-jdk 
Shell :: Move or change directory to specific location in Terminal 
Shell :: bash do-while 
Shell :: phoenix liveview setup 
Shell :: git push to new branch 
Shell :: search for substring 
Shell :: get program path powershell 
Shell :: download file github 
Shell :: public access denied assmebla 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =