Skip to content

Why does brew shellenv put linuxbrew in $PATH before /usr/bin/ ? #2560

Answered by SMillerDev
pmorch asked this question in Linux
Discussion options

You must be logged in to vote

Why put linuxbrew's bin before /usr/bin in the $PATH, when it breaks apt packages, whereas apps installed with brew install work either way?

Because brew does not expect you to use a second package manager at the same time (and neither does apt). As for the second part of this, there is no guaranteeing that brew apps work either way. We try our best to make packages work with our dependencies but we don't develop them so we can't be sure it'll work.

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@pmorch
Comment options

Answer selected by pmorch
Comment options

You must be logged in to vote
5 replies
@pmorch
Comment options

@SMillerDev
Comment options

@carlocab
Comment options

@pmorch
Comment options

@pmorch
Comment options

Comment options

You must be logged in to vote
1 reply
@gromgit
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
5 participants