cd /usr/src
wget http://curl.haxx.se/download/curl-7.20.0.tar.gz
tar -xf curl-7.20.0.tar.gz
cd curl-7.20.0
apt-get install -y gcc make zlib1g-dev libssh2-1-dev libssl-dev
./configure --prefix=/opt/curl7_20_0 --with-libssh2 --with-ssl
make
make install
Итого получим комплект библиотек для статического и динамического подключения cURL:
ls /opt/curl7_20_0/
bin include lib share
No comments :
Post a Comment
Note: only a member of this blog may post a comment.