Command to install curl – ubuntu linux

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

After installing cURL you have to restart Apache using the below given command

sudo /etc/init.d/apache2 restart