Replies: 1 comment 7 replies
-
CentOS 7.4 is almost 6 years old as of this writing, so the following may or may not work: mkdir -p ~/tmp
# Download a modern statically-linked curl
curl -L -o ~/tmp/static-curl https://github.com/moparisthebest/static-curl/releases/download/v7.88.1/curl-amd64
chmod +x ~/tmp/static-curl
# Check that you can actually run this binary
~/tmp/static-curl --version
# See if Homebrew accepts it
HOMEBREW_CURL_PATH=${HOME}/tmp/static-curl brew config
# If so, install Homebrew curl with it...
HOMEBREW_CURL_PATH=${HOME}/tmp/static-curl brew install curl
# ...then see if Homebrew's happy to use its own curl
brew config |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
I guess I have a "chicken and the egg" problem. Unfortunately I'm on a system without root access. This is actually why I want to use Linux homebrew. The existing version of curl on the system is not current enough for brew. I did install a newer version of curl in my home directory and then pointed brew to that using HOMEBREW_CURL_PATH, but, that fails completely since the versions of curl and libcurl do not match. I don't think I can easily install or run my own version of libcurl?
Homebrew has the option to install curl as well, but, that install itself also needs an existing, new enough, version of curl, already on the system.
Thanks,
Dan
Beta Was this translation helpful? Give feedback.
All reactions