Join the community today
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

    126
    11
    18
    Jul 18, 2014
    Ratings:
    +15
    Local Time:
    4:59 PM
    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
    Code:
    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

    54,362
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    12:59 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 :)