Skip to content

Is it time to default HOMEBREW_PREFIX and warnings around it? #3339

Discussion options

You must be logged in to vote

It's not an easy problem to solve.

The problem is simply this: some software bake in install paths at build-time and thus many pre-built bottles won't work and you will have to install things from source. It's for this reason that we warn. Homebrew itself does support non-default prefixes and likely always will but we warn you it's not a good idea because installing packages by building from source takes significantly longer (i.e. potentially hours rather than seconds) and has a substantially increased error rate. The warnings are there to make sure you are aware that the user experience isn't as good and may be more likely to break rather than innocently picking an option without knowing…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@nemith
Comment options

@SMillerDev
Comment options

@danielnachun
Comment options

Comment options

You must be logged in to vote
2 replies
@SMillerDev
Comment options

@Bo98
Comment options

Bo98 Apr 25, 2024
Maintainer

Answer selected by nemith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants