Control Web Panel

WebPanel => Updates => Topic started by: Zappoboy on January 09, 2021, 06:06:58 AM

Title: Curl update
Post by: Zappoboy on January 09, 2021, 06:06:58 AM
Hi
I need to update Curl ver 7.29.0 to minimum ver 7.34.0 in order to get Paypal to work.
Can not find anywhere in CWP to do that and there obviously are no such update files in CWP.
So I tried to follow how-to do from a search

Update Curl on RHEL 8 / CentOS 8 :
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel8/x86_64/city-fan.org-release-2-1.rhel8.noarch.rpm
dnf --enablerepo=city-fan.org install libcurl libcurl-devel

Not possible, files missing. Tried also RHEL 7 but the same result.
So, I am stuck
Title: Re: Curl update
Post by: evansa on January 10, 2021, 11:50:23 AM
Update Curl on CWP7:

rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-2-1.rhel7.noarch.rpm
yum --enablerepo=city-fan.org install libcurl libcurl-devel

Update Curl on CWP6 :

# x86_64
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-2-1.rhel6.noarch.rpm
yum --enablerepo=city-fan.org install libcurl libcurl-devel

# i386
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/i386/city-fan.org-release-2-1.rhel6.noarch.rpm
yum --enablerepo=city-fan.org install libcurl libcurl-devel

Done you’ve successfully updated your curl version on your EL OS.

To check the Version of the Curl via command line type in this command :

curl -V

[root@host ~]# curl -V
curl 7.72.0 (x86_64-redhat-linux-gnu) libcurl/7.72.0 NSS/3.44 zlib/1.2.7 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.9.0 nghttp2/1.33.0
Release-Date: 2020-08-19