How to install latest libcurl on debian server?

Vin picture Vin · Mar 20, 2012 · Viewed 51.9k times · Source

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.

Answer

Victor Nițu picture Victor Nițu · Apr 6, 2012
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 :-)