Vinay Jeurkar
Vinay Jeurkar

Reputation: 3122

How to install latest libcurl on debian server?

I'm kind of new to these things. I do not know what command line is required to install latest version of libcurl. I followed few articles found on net but i get No acceptable C compiler found in $PATH. I'm on a debian server. Please help.

Upvotes: 12

Views: 62700

Answers (3)

Ricardo Brandao
Ricardo Brandao

Reputation: 141

You can download the source code here, and compile it

./configure
make
sudo make install

You'll be in the last version

Upvotes: 0

Victor Nițu
Victor Nițu

Reputation: 1505

su -
apt-get update
apt-cache search ^libcurl
apt-get install <whatever_apt-cache_listed>

And be sure to check Google first, before asking these basic questions here.

EDIT: Thanks @x-yuri for pointing out the su vs su - difference, it slipped through my fingers when I wrote this :-)

Upvotes: 25

user3449463
user3449463

Reputation: 1

Type in terminal:

apt-get update
apt-get install php5-curl

Upvotes: -14

Related Questions