brew can't set HOMEBREW_CURL_PATH to a newer version #3558
Replies: 4 comments 6 replies
-
Hello, I have the same error. Did you finally solve it please? I'm totally blocked... |
Beta Was this translation helpful? Give feedback.
-
That is more-or-less correct advice, you just used the wrong values. You should set both paths to the full pathnames of each executable, not just the directory they're in, so: HOMEBREW_CURL_PATH=/home/rzy/software/curl/bin/curl
HOMEBREW_GIT_PATH=/home/rzy/software/git/bin/git Also, please paste text output as text, not screenshots. It's impossible to copy-and-paste graphical characters for testing purposes, for starters. |
Beta Was this translation helpful? Give feedback.
-
Were you able to fix the issue? I am having the same thing in #4544. |
Beta Was this translation helpful? Give feedback.
-
I fixed this by simply installing curl: And then installing Homebrew with: This solved the issue for me instead of using: |
Beta Was this translation helpful? Give feedback.
-
I can't use sudo, and I install brew in my home directory:
~/.linuxbrew/bin/
.After I export
~/.linuxbrew/bin/
into PATH:export PATH=$PATH:~/.linuxbrew/bin/
I executed
brew
and I met this error:Then I searched some solutions online, one of them told that
HOMEBREW_DEVELOPER=1 HOMEBREW_GIT_PATH=/path/to/your/git HOMEBREW_CURL_PATH=/path/to/your/curl
is OK.I tried, but the error still exists.
I don't know how to sovle it. Can anyone help me? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions