3 ms·
FWIW-- the easiest way to do this is just using and probably break everything you love: export ARCHFLAGS='-arch arm64' brew install -s --HEAD pkg_name_here N
by rubyn00bie 6y ago
FWIW-- the easiest way to do this is just using and probably break everything you love:
export ARCHFLAGS='-arch arm64'
brew install -s --HEAD pkg_name_here
Nothing else needed. Honestly, the `--HEAD` part may not even be needed anymore.
Realize the problem with homebrew isn't brew itself right now on the M1. I have absolutely zero doubt (go read the issues) the maintainers want to support it properly and be done with this kind of noise. The reason they can't or don't is because a lot of shit is broken still. They can't safely let you go all willis-nillis installing ARM packages because they're broken.
Installing stuff from source, yourself, isn't hard if it's going to actually work... 99% of it boils down to:
1. git clone whatever_it_is
2. ./configure --prefix=/usr/local/bin
3. make
4. make install
- hk__2 6y agoFor anyone reading this, `-s` == `--build-from-source`.
- CapriciousCptl 6y agoI was curious and found the package install scripts nicely organized by name here-- https://github.com/Homebrew/homebrew-core/tree/master/Formula https://github.com/Homebrew/homebrew-core/tree/master/Formul...
- swiley 6y agoYou could also try using guix or running gentoo in a prefix. both have been running on arm since forever.