Want to subscribe to topics you're interested in?
Become a Member

Sysadmin how can i update curl to 7.36 and higher

Discussion in 'System Administration' started by hitman, Jul 7, 2016.

  1. hitman

    hitman Member

    Jul 18, 2014
    Local Time:
    5:17 AM
    I have php curl 7.19.7 and i would like to update it since it is required by something i am trying to use

    i tried
    rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-1-13.rhel6.noarch.rpm
    yum install libcurl
    but it did not work
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    1:17 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    that's incorrect way and can break your entire server and yum functionality !

    To update curl/libcurl on CentOS, Centmin Mod 123.09 betas has a customcurl.sh addon script to update to curl/libcurl 7.45 (current latest) as outlined at Beta Branch - Centmin Mod curl 7.43+ custom rpms | Centmin Mod Community

    Technically, you can run this on Centmin Mod 123.08 stable releases too as Centmin Mod addons are standalone scripts. The Centmin Mod 123.09 beta's addon/customcurl.sh addon is located here.

    However, as outlined at official discussion thread Beta Branch - Centmin Mod curl 7.43+ custom rpms | Centmin Mod Community this is beta so I take no responsibility if it breaks anything as curl/libcurl is crucial to the entire server CentOS environment and it's operation.

    I'd test this on test VPS/server, until you are satisfied that it works for your needs :)