Raspbian stretch only supports curl 7.52.1, but I need at least curl 7.56 for an application.

Is it save to manually update curl or is it likely to break the Linux distro?

  • 1
    the ubuntu image I am running on a pi4 has curl v 7.58.0 so there is certainly newer versions already compiled for ARM. If you are worried about something else breaking, I would save the current curl binary somewhere safe, add in the new one, and try it out. You can always move the old one back into place if there is a need to, but I suspect upgrading curl by a few minor version numbers is not going to break anything. – Chad G Jul 9 '20 at 16:38
  • 1
    You'll need to download the source files, and compile them. Everything you need to do this is in the cURL documentation. I'd probably use the static library option (./configure --disable-shared) to keep things "clean" in case you decide to go back to the older version in the repository. – Seamus Jul 9 '20 at 18:04
  • This question does not natively belong to Raspberry Pi. You should use the Raspberry Pi OS.. It has curl 7.64.0 available. – Ingo Jul 12 '20 at 17:38

You have two options.

  • Upgrade "Raspbian stretch" to a more recent version of Raspberry OS.


  • Uninstalling curl may break (or force remove) other packages that depend on it. – Dmitry Grigoryev Aug 12 '20 at 14:31
  • That is the case with all packages that has dependencies. – Mats Karlsson Aug 19 '20 at 10:05
  • Yes, and removing such packages is generally a bad idea. – Dmitry Grigoryev Aug 19 '20 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.