Skip to content

Unknown binaries in /opt/homebrew/bin #4540

Answered by gromgit
svallory asked this question in Casks
Discussion options

You must be logged in to vote

I'm using python installed via Homebrew and every binary I install via pip gets placed at /opt/homebrew/bin and is not a link.

Which is exactly what I explained earlier:

  • Homebrew installs formula binaries as symlinks in /opt/homebrew/bin, Python-based or otherwise
  • Python pip3 installs package binaries as executable files in <prefix>/bin, where <prefix> is the root directory of the Python3 runtime

To restate the above as clearly as possible, for all M1-based macOS systems like yours:

  • brew install <formula> will download precompiled binary packages to install, and symlink everything in /opt/homebrew/Cellar/<formula>/<version>/bin into /opt/homebrew/bin. It will NEVER copy files into /…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@gromgit
Comment options

@svallory
Comment options

@gromgit
Comment options

@svallory
Comment options

@gromgit
Comment options

Comment options

You must be logged in to vote
4 replies
@gromgit
Comment options

Answer selected by svallory
@svallory
Comment options

@quackerex
Comment options

@quackerex
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Casks
Labels
None yet
4 participants