1

I have installed curl package in ubuntu 12.04. I tried the sudo apt-get install php5-curl method but it did not work.

I downloaded the curl-7.37.1.tar.gz package from http://curl.haxx.se/download.html and extracted it and followed How do I install a .tar.gz (or .tar.bz2) file? to install a .tar.gz file.

I am not able to configure it to work with apache. How can I remove it so that I can install curl using apt-get?

Pavan
  • 11

2 Answers2

3

inside curl directory where you made sudo make install just do sudo make uninstall

AlexGreg
  • 1,655
  • 13
  • 18
0

Use locate curl command to find and then delete executable curl file and shell script curl-config file. In my case they were in usr/local/bin folder