Admin-Ahead Community

Linux => General Linux => Topic started by: vyshakhv on August 05, 2017, 03:28:18 pm

Title: Upgrade cURL to the latest version in centos 6.
Post by: vyshakhv 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