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.
Asked
Active
Viewed 6.0k times
10
-
https://packages.debian.org/jessie/curl – Vazgen Torosyan Mar 26 '16 at 18:03
3 Answers
23
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 :-)

idmean
- 14,540
- 9
- 54
- 83

Victor Nițu
- 1,485
- 13
- 18
-
1Using su is a bad habit, use [su -](http://unix.stackexchange.com/a/7021) instead – x-yuri Dec 30 '12 at 19:29
-
5Using `su` is a bad habit. Use `sudo` instead. Then, you don't have to share root's password all over the place. – Randal Schwartz Mar 23 '14 at 20:56
-
5on Debian systems there is no `sudo' by default. You cannot assume the user has it installed, therefore the provided solution is granted to work on every Debian machine. I hope that clarifies why I haven't used it. In the event sudo is installed, yes, I recommend using it instead of su-ing the tty. – Victor Nițu Mar 16 '15 at 21:21
-
13
-
1
0
You can download the source code here, and compile it
./configure
make
sudo make install
You'll be in the last version

Ricardo Brandao
- 141
- 1
- 3
- 14