Install cURL library to satisfy dependency for R on Ubuntu 12.04

83,390

Solution 1

For PHP:

install curl

sudo apt-get install php5-curl

restart apache

sudo apache2ctl restart

Solution 2

You can install Curl simply by :

sudo apt-get install curl libc6 libcurl3 zlib1g
Share:
83,390

Related videos on Youtube

Chris
Author by

Chris

Updated on September 18, 2022

Comments

  • Chris
    Chris over 1 year

    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.

    • kholis
      kholis over 10 years
      You have typo. It should "libcurl4-openssl-dev" instead of "libcurl4-opensll-dev"
    • Chris
      Chris over 10 years
      Sorry...changing typo fixed it. My bad.