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.

Zanna
  • 70,465
Chris
  • 193
  • 1
  • 2
  • 7

3 Answers3

8

For PHP:

install curl

sudo apt-get install php5-curl

restart apache

sudo apache2ctl restart
Eric Leschinski
  • 2,221
  • 1
  • 20
  • 24
gare
  • 947
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.

Sukupa91
  • 3,037
  • 2
  • 20
  • 33