Last active
February 28, 2017 15:48
-
-
Save greymd/4483de16fe563d8ee8c2b57c1a247fc7 to your computer and use it in GitHub Desktop.
Build curl on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CentOS | |
| $ yum install autoconf automake libtool libtool-ltdl openssl-devel tar | |
| $ curl -sL https://github.com/curl/curl/archive/curl-7_20_0.tar.gz | tar zxv | |
| $ cd curl-curl-7_20_0/ | |
| $ ./buildconf | |
| $ ./configure --enable-libcurl-option | |
| $ make && make install | |
| # Ubuntu | |
| $ apt-get update | |
| $ apt-get install -y autoconf libtool libssl-dev git make gcc wget | |
| $ wget https://github.com/curl/curl/archive/curl-7_20_0.tar.gz -O- | tar zxv | |
| # $ git clone https://github.com/curl/curl.git | |
| # $ git checkout ${CURL_VERSION} | |
| $ cd curl-curl-7_20_0 | |
| $ ./buildconf | |
| $ ./configure --enable-libcurl-option | |
| $ make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment