8

I am trying to install curl library. It is a dependency for the RCurl package in R. So I must install it for R to work properly. I tried:

$ sudo apt-get install libcurl4-opensll-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libcurl4-opensll-dev

I found a similar problem in the three links below. But they did not help solve my dilemma.

I need the following for Rcurl to work: sudo apt-get install libcurl4-opensll-dev.

2
  • 2
    You have typo. It should "libcurl4-openssl-dev" instead of "libcurl4-opensll-dev"
    – kholis
    Dec 6, 2013 at 7:06
  • Sorry...changing typo fixed it. My bad.
    – Chris
    Dec 6, 2013 at 16:53

3 Answers 3

8

For PHP:

install curl

sudo apt-get install php5-curl

restart apache

sudo apache2ctl restart
6

You can install Curl simply by :

sudo apt-get install curl libc6 libcurl3 zlib1g
0

Use following -

mkdir xxx
cd xxx

for 32 bit use-

wget http://packages.ubuntu.com/precise/i386/libcurl4-openssl-dev/download

For 64 bit use-

wget http://packages.ubuntu.com/precise/amd64/libcurl4-openssl-dev/download

For knowing the name of package_name.deb downloaded file use -

ls

For Installation use -

sudo dpkg -i package_name.deb

Just write the name of the package instead of package_name.deb as you got it from previous command ls.

Hope it helped you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .