Upgrade curl 7.29 to 7.69 in CentOS 7 or RedHat 7
By default we can see 7.29 as the latest version of curl in CentOS or RHEL7. Here we are going to see how we can upgrade it to version 7.69.
We use city-fan.org repo for the upgrade of curl. Lets see how to install and enable this repo and upgrade the curl package.
- Install the "city-fan.org" repo
# rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-2-1.rhel7.noarch.rpm
- Enable the repo "city-fan.org" in configuration file.
Open the file /etc/yum.repos.d/city-fan.org.repo and enable the repo "city-fan.org"
# vim /etc/yum.repos.d/city-fan.org.repo
- Upgrade the "curl" package from this repo.
# yum update curl -y
Once the update is done you can check the version of curl package by "rpm" command.
# rpm -qa |grep curl