How to update cURL to the latest version?


The current cURL version installed on a server differs from the latest version on the cURL website.

How to update cURL to the latest version?

Answer
-Connect to a Plesk server via SSH.
-Update cURL to the latest version with the command:

# yum update curl.x86_64

Verify the version:

# curl --version

If a newer version has not been found or after an update the version is still not the latest, perform the following steps:

Create a city-fan.org yum repository file:

# touch /etc/yum.repos.d/city-fan.repo

Open the file /etc/yum.repos.d/city-fan.repo in any text editor and put the content below:

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

Enable the EPEL repository:

# yum install epel-release -y

   
Rerun the update:

# yum update curl.x86_64

Verify the version:

# curl --version




{ 0 komentar... read them below or add one }

Post a Comment