Get the most out of your Centmin Mod LEMP stack
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

    117
    10
    18
    Jul 18, 2014
    Ratings:
    +14
    Local Time:
    10:01 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

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    6:01 AM
    Nginx 1.13.x
    MariaDB 5.5
    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 :)