cURL is a command line utility that allows you to interact with different servers using different protocols (FTP, FTPS, HTTP, HTTPS, SCP, SFTP, Telnet, POP3, IMAP, SMTP, etc.) with syntax URL.
As a rule, in many Linux distributions the utility is available by default, but some may not.
You can check the availability and current version of cURL using the command:
curl --version
If you get an error like “curl: command not found", Most likely the utility is not installed in your distribution kit. You can install it using the commands below.
To install cURL on CentOS, run the command:
yum install curl
To install cURL on Debian / Ubuntu run the command:
apt-get install curl
from 2-00 to 7-00