install icon indicating copy to clipboard operation
install copied to clipboard

Homebrew on Linux is only supported on Intel processors!

Open bckelley opened this issue 1 year ago • 3 comments

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • [ ] your problem was from running the official install or uninstall script? yes
  • [ ] after installation: ran brew config and brew doctor and included their output with your issue? If you couldn't install: provided your OS version with the output of your issue? no won't install

What you were trying to do (and why)

won't install i get the aforementioned error, on WSL

image image

Can homebrew not be installed on AMD? seriously it's 2022 come on!

What happened (include command output)

Command output
  
  

What you expected to happen

Step-by-step reproduction instructions (by running brew commands)

bckelley avatar Aug 08 '22 18:08 bckelley

What is the output of uname -m on your machine?

dawidd6 avatar Aug 08 '22 19:08 dawidd6

image

bckelley avatar Aug 08 '22 19:08 bckelley

on WSL

WSL1, or WSL2? WSL1 has proven to be seriously problematic with Homebrew, though it usually manifests by inability to run just-installed binaries.

Try running:

/bin/bash -x -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2>&1 | tee /tmp/install.log

then post the contents of /tmp/install.log. (Please post text output as text, not screenshots as you've been doing so far.)

gromgit avatar Aug 09 '22 04:08 gromgit

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Aug 31 '22 00:08 github-actions[bot]

Having the same problem, would appreciate a fix. armv71 is my output of uname -m

meatballsong1 avatar Oct 02 '22 21:10 meatballsong1

armv71 is my output of uname -m

That's a:

  • 32-bit
  • ARM CPU

so two strikes against official support. If you want to continue, you'll have to be prepared to put in a CRAP-TON of work, and figure out a lot of things by yourself.

As the docs say:

You may need to install your own Ruby using your system package manager, a PPA, or rbenv/ruby-build as we no longer distribute a Homebrew Portable Ruby for ARM.

At this writing, that means a Ruby v2.6.8 install. I've had the most luck with using rbenv/ruby-build as the docs suggest, but if your platform already has a precompiled Ruby of the right version, you can try using that instead.

Next, you'll have to build all formulae from source, no bottles for you. On a 32-bit ARM, toolchains like gcc, rust and even go will take a LONG time to build.

And many formulae may not even build on 32-bit CPUs in their current form. You'd have to figure out how these formulae need to be adjusted

You have been warned.

gromgit avatar Oct 03 '22 02:10 gromgit