Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Upgrade cURL to the latest version in centos 6.  (Read 6457 times)

0 Members and 1 Guest are viewing this topic.

vyshakhv

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Upgrade cURL to the latest version in centos 6.
« on: August 05, 2017, 03:28:18 pm »
cURL is a command line tool for getting or sending files using URL syntax.

Since cURL uses libcurl, it supports a range of common Internet protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DAP, DICT, TELNET, FILE, IMAP, POP3, SMTP and RTSP (the last four only in versions newer than 7.20.0 or 9 February 2010).

The current stable version of cURL is 7.54.1

Create a repo file:

Code: [Select]
# touch /etc/yum.repos.d/city-fan.repo
Input the following records in this repo file:

Code: [Select]
# cat /etc/yum.repos.d/city-fan.repo

[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0
Enable EPEL repository:

Code: [Select]
# yum install epel-release -y
Rerun the updater:

Code: [Select]
# yum update curl.x86_64
« Last Edit: August 05, 2017, 05:23:13 pm by vyshakhv »