Brew doesn't call in Bash #3370
Unanswered
AlexsanderCallou
asked this question in
Linux
Replies: 3 comments
-
|
The shellenv line probably won't work if you also add it to the path manually |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
What's the output of the following? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Don't really sure what was the issue, but when a boot the computer this morning and did the steps again, now its working! Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, after installing Linux Brew in popOs 22.04, following the guideline to have Brew on Bash.
At the end of my .profile, I have the following lines:
#set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
But still, don't have Brew in bash, can someone help me?
Ps: I dont have .profile_login or .bash_profile in my system.
after install did the steps:
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/alex/.profileeval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"and
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profileBeta Was this translation helpful? Give feedback.
All reactions