• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved How to upgrade cURL in CentOS 7.4

BrinsleyP

Regular Pleskian
in prompt i type

curl -V and the msg is:

[root@server /]# curl -V
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets


So, how to upgrade the curl to this version 7.29 to latest version ?
 
Hello, the update stop with this error:

...
---> Package libpsl.x86_64 0:0.7.0-1.el7 will be installed
---> Package libssh2.x86_64 0:1.4.3-10.el7_2.1 will be updated
---> Package libssh2.x86_64 0:1.8.0-5.0.cf.rhel7 will be an update
--> Finished Dependency Resolution
Error: Package: libcurl-7.56.1-1.0.cf.rhel7.x86_64 (CityFan)
Requires: libnghttp2.so.14()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
 
You're using the third party city-fan repository. This repo has dependencies which are in the EPEL repository, one of which is libnghttp2, so you must have EPEL enabled to use city-fan:

# rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-13.rhel6.noarch.rpm
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
# yum --enablerepo=city-fan.org update curl

# curl -V
curl 7.56.1 (x86_64-redhat-linux-gnu) libcurl/7.56.1 NSS/3.28.4 zlib/1.2.7 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.8.0 nghttp2/1.21.1
Release-Date: 2017-10-23
 
Back
Top