o7planning

Install cURL on Ubuntu

  1. Install cURL on Ubuntu
  2. Use the cURL

1. Install cURL on Ubuntu

cURL is a command line tool and includes a library. It supports most protocols to help transfer data with the URL syntax. By default, when you install an Ubuntu operating system, this program is pre-installed. And you can test it with the following command:
curl  --help
if your Ubuntu is not installed cURL, you can install it by executing the following commands:
sudo apt-get update

sudo apt-get install curl
After finishing installation, you can examine the version of the cURL:
curl --version
If you want to install the cURL for the PHP, please execute more 2 following commands:
sudo apt-get update

sudo apt-get install php-curl

2. Use the cURL

Detailed instruction for use of the cURL:
  • What is cURL? User Guide cURL