Skip to content

Why does Brew require a newer version of curl?? #224

Answered by HariSekhon
HariSekhon asked this question in Linux
Discussion options

You must be logged in to vote

Ok, trawled the git log and code and found the answer here:

https://github.com/Homebrew/brew/blob/master/Library/Homebrew/brew.sh#L353

 if [[ -n "$HOMEBREW_FORCE_HOMEBREW_ON_LINUX" && -n "$HOMEBREW_ON_DEBIAN7" ]]
  then
    # Special version for our debian 7 docker container used to build patchelf and binutils
    HOMEBREW_MINIMUM_CURL_VERSION="7.25.0"
  else
    # Ensure the system Curl is a version that supports modern HTTPS certificates.
    HOMEBREW_MINIMUM_CURL_VERSION="7.41.0"
  fi
  curl_version_output="$($HOMEBREW_CURL --version 2>/dev/null)"
  curl_name_and_version="${curl_version_output%% (*}"
  if [[ $(numeric "${curl_name_and_version##* }") -lt $(numeric "$HOMEBREW_MINIMUM_CUR…

Replies: 2 comments 5 replies

Comment options

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

@SMillerDev
Comment options

@raakasf
Comment options

@osalbahr
Comment options

@osalbahr
Comment options

Answer selected by HariSekhon
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